OFFSET
0,1
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = (2*n+1)*(2*n+9).
G.f.: (9 + 6*x - 7*x^2)/(1-x)^3 . - R. J. Mathar, Oct 23 2016
E.g.f.: (9 + 24*x + 4*x^2)*exp(x). - G. C. Greubel, Mar 23 2024
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {9, 33, 65}, 100] (* Paolo Xausa, Dec 05 2023 *)
(2*Range[0, 60] +5)^2 -16 (* G. C. Greubel, Mar 23 2024 *)
PROG
(PARI) a(n)=4*n^2+20*n+9 \\ Charles R Greathouse IV, Jun 17 2017
(Magma) [(2*n+5)^2-16: n in [0..60]]; // G. C. Greubel, Mar 23 2024
(SageMath) [(2*n+5)^2-16 for n in range(61)] # G. C. Greubel, Mar 23 2024
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Paul Curtz, Oct 25 2008
EXTENSIONS
More terms from Jinyuan Wang, Mar 23 2020
STATUS
approved