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.: (64+1941*x+2244*x^2+125*x^3)/(x-1)^4. - R. J. Mathar, Jul 14 2016
a(n) = 4*a(n-1)-6*a(n-2)+4*a(n-3)-a(n-4). - Wesley Ivan Hurt, May 26 2024
MAPLE
MATHEMATICA
Table[(9n+4)^3, {n, 0, 35}] (* Wesley Ivan Hurt, Jan 22 2014 *)
LinearRecurrence[{4, -6, 4, -1}, {64, 2197, 10648, 29791}, 30] (* Harvey P. Dale, Jan 21 2017 *)
PROG
(Magma) [(9*n+4)^3: n in [0..35]]; // Vincenzo Librandi, Jul 25 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved