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
From Wesley Ivan Hurt, Jan 27 2022: (Start)
G.f.: 8*(27+404*x+311*x^2+8*x^3)/(x-1)^4.
a(n) = 4*a(n-1)-6*a(n-2)+4*a(n-3)-a(n-4). (End)
MATHEMATICA
(10*Range[0, 30]+6)^3 (* or *) LinearRecurrence[{4, -6, 4, -1}, {216, 4096, 17576, 46656}, 30] (* Harvey P. Dale, Nov 05 2019 *)
PROG
(Magma) [(10*n+6)^3: n in [0..35]]; // Vincenzo Librandi, Aug 03 2011
(PARI) vector(40, n, n--; (10*n+6)^3) \\ Michel Marcus, Aug 04 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved