|
|
A244872
|
|
Number of magic labelings with magic sum n of 4th graph shown in link.
|
|
2
|
|
|
1, 15, 114, 569, 2138, 6562, 17329, 40765, 87512, 174452, 327137, 582784, 993895, 1632561, 2595510, 4009958, 6040323, 8895861, 12839284, 18196419, 25366968, 34836428, 47189231, 63123163, 83465122, 109188274, 141430667, 181515362, 230972141, 291560851, 365296444
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|