login
A174337
94*n^2.
1
0, 94, 376, 846, 1504, 2350, 3384, 4606, 6016, 7614, 9400, 11374, 13536, 15886, 18424, 21150, 24064, 27166, 30456, 33934, 37600, 41454, 45496, 49726, 54144, 58750, 63544, 68526, 73696, 79054, 84600, 90334, 96256, 102366, 108664
OFFSET
0,2
FORMULA
G.f. 94*x*(1+x)/(1-x)^3 . - R. J. Mathar, Oct 01 2011
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - Vincenzo Librandi, Aug 21 2014
MATHEMATICA
Table[94 n^2, {n, 0, 40}] (* or *) CoefficientList[Series[94 x (1 + x)/(1 - x)^3, {x, 0, 40}], x] (* Vincenzo Librandi, Aug 21 2014 *)
LinearRecurrence[{3, -3, 1}, {0, 94, 376}, 40] (* Harvey P. Dale, Aug 15 2016 *)
PROG
(Magma) [94*n^2: n in [0..50]];
(Magma) I:=[0, 94, 376]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+Self(n-3): n in [1..40]]; // Vincenzo Librandi, Aug 21 2014
(PARI) a(n)=94*n^2 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
Sequence in context: A188185 A189811 A202415 * A354481 A116244 A086248
KEYWORD
nonn,easy,less
AUTHOR
Vincenzo Librandi, Mar 16 2010
STATUS
approved