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, -7, -5, 22, -14, -14, 22, -5, -7, 5, -1).
FORMULA
G.f.: (1+13*x+71*x^2+174*x^3+238*x^4+174*x^5+71*x^6+13*x^7+x^8)/((1-x)^8*(1+x)^3).
a(n) = 3*n^7/160 + 63*n^6/320 + 151*n^5/160 + 339*n^4/128 + 2251*n^3/480 + n^2*(-1)^n/64 + 1677*n^2/320 + 3*n*(-1)^n/64 + 3259*n/960 + 9*(-1)^n/256 + 247/256. [Bruno Berselli, Jul 08 2014]
MATHEMATICA
Table[3 n^7/160 + 63 n^6/320 + 151 n^5/160 + 339 n^4/128 + 2251 n^3/480 + n^2 (-1)^n/64 + 1677 n^2/320 + 3 n (-1)^n/64 + 3259 n/960 + 9 (-1)^n/256 + 247/256, {n, 0, 30}] (* Bruno Berselli, Jul 08 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 08 2014
STATUS
approved