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, -8, 0, 14, -14, 0, 8, -5, 1).
FORMULA
G.f.: (1+5*x+13*x^2+22*x^3+13*x^4+5*x^5+x^6)/((1-x)^7*(1+x)^2).
a(n) = n^6/48 + 3*n^5/16 + 77*n^4/96 + 2*n^3 + 37*n^2/12 - n*(-1)^n/32 + 89*n/32 - 3*(-1)^n/64 + 67/64. [Bruno Berselli, Jul 08 2014]
MATHEMATICA
Table[n^6/48 + 3 n^5/16 + 77 n^4/96 + 2 n^3 + 37 n^2/12 - n (-1)^n/32 + 89 n/32 - 3 (-1)^n/64 + 67/64, {n, 0, 40}] (* Bruno Berselli, Jul 08 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 08 2014
STATUS
approved