OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..2500
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = 1+3*n+5*n^2+5*n^3. Fourth row polynomial (n=3) of Catalan triangle A009766.
G.f.: (1+2*x)*(1+8*x+x^2)/(1-x)^4.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). - Wesley Ivan Hurt, Nov 17 2022
E.g.f.: (1 + 13*x + 20*x^2 + 5*x^3)*exp(x). - G. C. Greubel, Nov 07 2024
MATHEMATICA
CoefficientList[Series[(1 + 2*x)*(1 + 8*x + x^2)/(1 - x)^4, {x, 0, 50}], x] (* Wesley Ivan Hurt, Nov 17 2022 *)
PROG
(Magma) [(n+1)^3 +2*n^2*(2*n+1): n in [0..50]]; // G. C. Greubel, Nov 07 2024
(SageMath)
def A064096(n): return (n+1)^3 +2*n^2*(2*n+1)
[A064096(n) for n in range(51)] # G. C. Greubel, Nov 07 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Sep 13 2001
EXTENSIONS
More terms added by G. C. Greubel, Nov 07 2024
STATUS
approved