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
From Elmo R. Oliveira, Sep 10 2025: (Start)
G.f.: 4*(9 + x)*(1 + 4*x)/(1 - x)^3.
E.g.f.: 4*exp(x)*(9 + 55*x + 25*x^2).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). (End)
MAPLE
MATHEMATICA
Table[(10 n + 6)^2, {n, 0, 35}] (* Wesley Ivan Hurt, Jan 29 2014 *)
LinearRecurrence[{3, -3, 1}, {36, 256, 676}, 40] (* Harvey P. Dale, Dec 04 2014 *)
PROG
(Magma) [(10*n+6)^2: n in [0..35]]; // Vincenzo Librandi, Aug 03 2011
(PARI) a(n)=(10*n+6)^2 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
