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 R. J. Mathar, Mar 21 2016: (Start)
G.f.: ( -36 - 117*x - 9*x^2 ) / (x-1)^3.
a(n) = 9*A016790(n). (End)
PROG
(Magma) [(9*n+6)^2: n in [0..35]]; // Vincenzo Librandi, Jul 25 2011
(PARI) a(n) = (9*n+6)^2; \\ Altug Alkan, Mar 21 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved