OFFSET
0,2
LINKS
M. M. Ahmed, Algebraic Combinatorics of Magic Squares, arXiv:math/0405476 [math.CO], 2004.
Index entries for linear recurrences with constant coefficients, signature (9,-36,84,-126,126,-84,36,-9,1).
FORMULA
a(n) = s^8/2293760+s^7/71680+s^6/3840+s^5/320+s^4/40+2s^3/15+197s^2/420+106s/105+1 where s=4n [Ahmed].
G.f.: -(x+1)^3*(x^2+10*x+1)^2 / (x-1)^9. [Colin Barker, Dec 10 2012]
MAPLE
a := proc(n) local s ; s :=4*n ; s^8/2293760+s^7/71680+s^6/3840+s^5/320+s^4/40+2*s^3/15+197*s^2/420+106*s/105+1 ; end: for n from 0 to 30 do printf("%d ", a(n)) ; od;
MATHEMATICA
CoefficientList[((1 + x)^3*(1 + 10*x + x^2)^2)/(1 - x)^9 + O[x]^24, x] (* Jean-François Alcover, Dec 06 2017 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
R. J. Mathar, Jan 25 2007
STATUS
approved