OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
B. K. Teo and N. J. A. Sloane, Magic numbers in polygonal and polyhedral clusters, Inorgan. Chem. 24 (1985), 4545-4558.
Index entries for linear recurrences with constant coefficients, signature (9,-36,84,-126,126,-84,36,-9,1).
FORMULA
G.f.: -(x^6+246*x^5+4047*x^4+11572*x^3+4047*x^2+246*x+1)*(1+x)^2 / (x-1)^9. - R. J. Mathar, Oct 13 2011
MAPLE
MATHEMATICA
Total/@Partition[Range[0, 20]^8, 2, 1] (* or *) LinearRecurrence[{9, -36, 84, -126, 126, -84, 36, -9, 1}, {1, 257, 6817, 72097, 456161, 2070241, 7444417, 22542017, 59823937}, 30] (* Harvey P. Dale, Dec 11 2014 *)
PROG
(Magma) [(n+1)^8+n^8: n in [0..20]]; // Vincenzo Librandi, Aug 27 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved