OFFSET
0,2
LINKS
T. D. Noe, Table of n, a(n) for n = 0..1000
J. H. Conway and N. J. A. Sloane, Low-Dimensional Lattices VII: Coordination Sequences, Proc. Royal Soc. London, A453 (1997), 2369-2389 (pdf).
Index entries for linear recurrences with constant coefficients, signature (6,-15,20,-15,6,-1).
FORMULA
From Gopinath A. R., Feb 14 2012, (Start)
G.f.: (x^5+7*x^4+42*x^3+22*x^2+7*x+1)/(x^6-6*x^5+15*x^4-20*x^3+15*x^2-6*x+1).
E.g.f.: 1/12*(8*x^5+95*x^4+320*x^3+360*x^2+144*x+12)*exp(x). (End)
a(n) = (8*n^5 + 15*n^4 + 30*n^3 + 45*n^2 + 46*n + 12)/12. - Charles R Greathouse IV, May 31 2026
MAPLE
seq( 2/3*n^5+5/4*n^4+5/2*n^3+15/4*n^2+23/6*n+1, n=0..33);
MATHEMATICA
A010025[n_] := n*(n*(n*(n*(8*n + 15) + 30) + 45) + 46)/12 + 1;
Array[A010025, 35, 0] (* Paolo Xausa, Jun 13 2026 *)
(* Alternative: *)
LinearRecurrence[{6, -15, 20, -15, 6, -1}, {1, 13, 85, 377, 1239, 3291}, 35] (* Paolo Xausa, Jun 13 2026 *)
PROG
(PARI) a(n)=1+n*(46+45*n+30*n^2+15*n^3+8*n^4)/12 \\ Charles R Greathouse IV, May 31 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
