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.: ( -25 - 94*x - 9*x^2 ) / (x-1)^3. - R. J. Mathar, May 08 2015
E.g.f.: exp(x)*(25 + 144*x + 64*x^2). - Stefano Spezia, Oct 28 2023
MATHEMATICA
(8Range[0, 40]+5)^2 (* Harvey P. Dale, Mar 12 2011 *)
PROG
(Magma) [(8*n+5)^2: n in [0..35] ]; // Vincenzo Librandi, Jul 21 2011
(PARI) a(n)=(8*n+5)^2 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved