OFFSET
0,2
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.: (1 + 1327*x + 3943*x^2 + 729*x^3)/(1-x)^4. - Bruno Berselli, Jul 30 2011
MATHEMATICA
(10*Range[0, 30]+1)^3 (* or *) LinearRecurrence[{4, -6, 4, -1}, {1, 1331, 9261, 29791}, 30] (* Harvey P. Dale, Nov 17 2019 *)
PROG
(Magma) [(10*n+1)^3: n in [0..35]]; // Vincenzo Librandi, Jul 30 2011
(PARI) for(n=0, 27, print1((10*n+1)^3", ")); \\ Bruno Berselli, Jul 30 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Bruno Berselli, Jul 30 2011
STATUS
approved