OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = 4*A016898(n). - Michel Marcus, Aug 26 2015
From Elmo R. Oliveira, Sep 10 2025: (Start)
G.f.: 4*(16 + 33*x + x^2)/(1 - x)^3.
E.g.f.: 4*exp(x)*(16 + 65*x + 25*x^2).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
MATHEMATICA
(10 Range[0, 30]+8)^2 (* Harvey P. Dale, Dec 17 2016 *)
(* Alternative: *)
LinearRecurrence[{3, -3, 1}, {64, 324, 784}, 30] (* Harvey P. Dale, Dec 17 2016 *)
PROG
(Magma) [(10*n+8)^2: n in [0..40]]; // Vincenzo Librandi, Aug 31 2011
(PARI) a(n) = (10*n+8)^2; \\ Michel Marcus, Aug 26 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
