OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
R. P. Stanley, Examples of Magic Labelings, Unpublished Notes, 1973 [Cached copy, with permission]
Index entries for linear recurrences with constant coefficients, signature (6,-14,14,0,-14,14,-6,1).
FORMULA
G.f.: (1 + 8*x + 15*x^2 + 8*x^3 + x^4) / ((1 - x)^7*(1 + x)).
From Colin Barker, Jan 11 2017: (Start)
a(n) = (15*(127+(-1)^n) + 6432*n + 8936*n^2 + 6480*n^3 + 2570*n^4 + 528*n^5 + 44*n^6) / 1920.
a(n) = 6*a(n-1) - 14*a(n-2) + 14*a(n-3) - 14*a(n-5) + 14*a(n-6) - 6*a(n-7) + a(n-8) for n>7.
(End)
PROG
(PARI) Vec((1 + 8*x + 15*x^2 + 8*x^3 + x^4) / ((1 - x)^7*(1 + x)) + O(x^40)) \\ Colin Barker, Jan 11 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 07 2014
STATUS
approved