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”).

A017523
a(n) = (12*n)^3.
2
0, 1728, 13824, 46656, 110592, 216000, 373248, 592704, 884736, 1259712, 1728000, 2299968, 2985984, 3796416, 4741632, 5832000, 7077888, 8489664, 10077696, 11852352, 13824000, 16003008, 18399744, 21024576, 23887872, 27000000, 30371328, 34012224
OFFSET
0,2
FORMULA
G.f.: 1728*x*(1 + 4*x + x^2)/(1 - x)^4. - Vincenzo Librandi, Jul 05 2014
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) for n>3. - Vincenzo Librandi, Jul 05 2014
MATHEMATICA
Table[1728 n^3, {n, 0, 40}] (* or *) CoefficientList[Series[1728 x (1 + 4 x + x^2)/(1 - x)^4, {x, 0, 40}], x] (* Vincenzo Librandi, Jul 05 2014 *)
PROG
(Maxima) makelist((12*n)^3, n, 0, 30); /* Martin Ettl, Oct 21 2012 */
(Magma) [1728*n^3: n in [0..40]]; // Vincenzo Librandi, Jul 05 2014
(Magma) I:=[0, 1728, 13824, 46656]; [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]]; // Vincenzo Librandi, Jul 05 2014
CROSSREFS
Cf. similar sequences listed in A244725.
Sequence in context: A323560 A223236 A017403 * A237490 A223324 A002519
KEYWORD
nonn,easy
STATUS
approved