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
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4); a(0)=125, a(1)=2197, a(2)=9261, a(3)=24389. - Harvey P. Dale, May 09 2013
G.f.: ( 125 + 1697*x + 1223*x^2 + 27*x^3 ) / ( (x-1)^4 ). - R. J. Mathar, May 08 2015
MATHEMATICA
(8*Range[0, 30]+5)^3 (* or *) LinearRecurrence[{4, -6, 4, -1}, {125, 2197, 9261, 24389}, 30] (* Harvey P. Dale, May 09 2013 *)
PROG
(Magma) [(8*n+5)^3: n in [0..35] ]; // Vincenzo Librandi, Jul 21 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved