OFFSET
0,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = a(n-1) + 288*n, n >= 1. - Vincenzo Librandi, Mar 19 2011
G.f.: ( -36 - 216*x - 36*x^2 ) / (x-1)^3. - R. J. Mathar, Mar 20 2011
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3); a(0)=36, a(1)=324, a(2)=900. - Harvey P. Dale, Jun 04 2012
MATHEMATICA
(12*Range[0, 30]+6)^2 (* or *) LinearRecurrence[{3, -3, 1}, {36, 324, 900}, 30] (* Harvey P. Dale, Jun 04 2012 *)
PROG
(PARI) a(n)=(12*n+6)^2 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved