OFFSET
0,2
LINKS
N. J. A. Sloane, Graphs for A244869-A244876.
R. P. Stanley, Examples of Magic Labelings, Unpublished Notes, 1973 [Cached copy, with permission]
Index entries for linear recurrences with constant coefficients, signature (5, -9, 5, 5, -9, 5, -1).
FORMULA
G.f.: (1 + 3*x + 6*x^2 + 3*x^3 + x^4)/((1 - x)^6*(1 + x)).
a(n) = 7*n^5/120 + 7*n^4/16 + 35*n^3/24 + 21*n^2/8 + 149*n/60 + (-1)^n/32 + 31/32. [Bruno Berselli, Jul 08 2014]
MATHEMATICA
Table[7 n^5/120 + 7 n^4/16 + 35 n^3/24 + 21 n^2/8 + 149 n/60 + (-1)^n/32 + 31/32, {n, 0, 40}] (* Bruno Berselli, Jul 08 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 08 2014
STATUS
approved