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
E.g.f.: exp(x)*(1 + 1330*x + 3300*x^2 + 1000*x^3). - Stefano Spezia, Oct 17 2025
MATHEMATICA
(10*Range[0, 30]+1)^3 (* Harvey P. Dale, Nov 17 2019 *)
(* Alternative: *)
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,changed
AUTHOR
EXTENSIONS
More terms from Bruno Berselli, Jul 30 2011
STATUS
approved
