login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A244726
6*n^3.
3
0, 6, 48, 162, 384, 750, 1296, 2058, 3072, 4374, 6000, 7986, 10368, 13182, 16464, 20250, 24576, 29478, 34992, 41154, 48000, 55566, 63888, 73002, 82944, 93750, 105456, 118098, 131712, 146334, 162000, 178746, 196608, 215622, 235824, 257250, 279936, 303918
OFFSET
0,2
FORMULA
G.f.: 6*x*(1 + 4*x + x^2)/(1 - x)^4.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) for n>3.
MATHEMATICA
Table[6 n^3, {n, 0, 40}] (* or *) CoefficientList[Series[6 x (1 + 4 x + x^2)/(1 - x)^4, {x, 0, 40}], x]
PROG
(Magma) [6*n^3: n in [0..40]] /* or */ I:=[0, 6, 48, 162]; [n le 4 select I[n] else 4*Self(n-1)-6*Self(n-2)+4*Self(n-3)-Self(n-4): n in [1..40]];
CROSSREFS
Cf. similar sequences listed in A244725.
Sequence in context: A250226 A250274 A167547 * A335384 A331668 A005353
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jul 05 2014
STATUS
approved