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 (13,-78,286,-715,1287,-1716,1716,-1287,715,-286,78,-13,1).
FORMULA
G.f.: (1 + 95*x + 2070*x^2 + 13842*x^3 + 34416*x^4 + x^9 + 95*x^8 + 2070*x^7 + 13842*x^6 + 34416*x^5) / (1-x)^13.
a(n) = ((2+n)^2*(226800 + 1014480*n + 2137860*n^2 + 2775656*n^3 + 2422453*n^4 + 1468908*n^5 + 621705*n^6 + 180336*n^7 + 34191*n^8 + 3820*n^9 + 191*n^10)) / 907200. - Colin Barker, Jan 11 2017
PROG
(PARI) Vec((1 + 95*x + 2070*x^2 + 13842*x^3 + 34416*x^4 + x^9 + 95*x^8 + 2070*x^7 + 13842*x^6 + 34416*x^5) / (1-x)^13 + O(x^30)) \\ Colin Barker, Jan 11 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 08 2014
STATUS
approved