OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
a(n) = (n^6+3*n^4+8*n^2)/12.
G.f.: x*(1+x)*(1+4*x+20*x^2+4*x^3+x^4)/(1-x)^7. - Colin Barker, Jan 30 2012
E.g.f.: exp(x)*x*(12 + 60*x + 108*x^2 + 68*x^3 + 15*x^4 + x^5)/12. - Stefano Spezia, Feb 29 2024
MAPLE
A046023 := n->(n^6+3*n^4+8*n^2)/12;
MATHEMATICA
LinearRecurrence[{7, -21, 35, -35, 21, -7, 1}, {0, 1, 12, 87, 416, 1475, 4236}, 30] (* Vincenzo Librandi, Jan 31 2012 *)
PROG
(PARI) a(n)=(n^6+3*n^4+8*n^2)/12 \\ Charles R Greathouse IV, Jan 31 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Apr 11 2001
STATUS
approved