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 (7, -20, 28, -14, -14, 28, -20, 7, -1).
FORMULA
G.f.: (1+8*x+29*x^2+43*x^3+29*x^4+8*x^5+x^6)/((1-x)^8*(1+x)).
a(n) = 17*n^7/1440 + 119*n^6/960 + 28*n^5/45 + 721*n^4/384 + 5243*n^3/1440 + 721*n^2/160 + 129*n/40 + (-1)^n/256 + 255/256. [Bruno Berselli, Jul 08 2014]
MATHEMATICA
Table[17 n^7/1440 + 119 n^6/960 + 28 n^5/45 + 721 n^4/384 + 5243 n^3/1440 + 721 n^2/160 + 129 n/40 + (-1)^n/256 + 255/256, {n, 0, 30}]
LinearRecurrence[{7, -20, 28, -14, -14, 28, -20, 7, -1}, {1, 15, 114, 569, 2138, 6562, 17329, 40765, 87512}, 40] (* Harvey P. Dale, Nov 01 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 08 2014
STATUS
approved