OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
G.f.: 8*(64*x^3+473*x^2+212*x+1) / (x-1)^4. - Colin Barker, May 03 2014
MAPLE
MATHEMATICA
Table[(10 n + 2)^3, {n, 0, 40}] (* Wesley Ivan Hurt, May 02 2014 *)
LinearRecurrence[{4, -6, 4, -1}, {8, 1728, 10648, 32768}, 30] (* Harvey P. Dale, Aug 24 2018 *)
PROG
(Magma) [(10*n+2)^3: n in [0..35]]; // Vincenzo Librandi, Jul 30 2011
(PARI) Vec(8*(64*x^3+473*x^2+212*x+1)/(x-1)^4 + O(x^100)) \\ Colin Barker, May 03 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 11 1996
STATUS
approved