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
G.f.: ( -16 - 121*x - 25*x^2 ) / (x-1)^3. - R. J. Mathar, Jul 14 2016
MATHEMATICA
Table[(9*n+4)^2, {n, 0, 30}] (* or *) LinearRecurrence[{3, -3, 1}, {16, 169, 484}, 30] (* Harvey P. Dale, May 06 2021 *)
PROG
(Magma) [(9*n+4)^2: n in [0..35]]; // Vincenzo Librandi, Jul 24 2011
(PARI) a(n)=(9*n+4)^2 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved