OFFSET
0,5
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Guoce Xin, Constructing all magic squares of order three, Discrete Math., 308 (2008), 3393-3398.
Index entries for linear recurrences with constant coefficients, signature (0,1,1,0,0,0,-1,-1,0,1).
FORMULA
a(0)=0, a(1)=0, a(2)=0, a(3)=0, a(4)=8, a(5)=24, a(6)=32, a(7)=56, a(8)=72, a(9)=96, a(n)=a(n-2)+a(n-3)-a(n-7)-a(n-8)+a(n-10). [Harvey P. Dale, Mar 22 2012]
a(n) = 8*A140402(n). - R. J. Mathar, Sep 27 2014
MATHEMATICA
CoefficientList[Series[8x^4/((1-x)^2(1-x^3))+8x^5/((1-x)(1-x^2)(1-x^5)), {x, 0, 60}], x] (* or *) LinearRecurrence[{0, 1, 1, 0, 0, 0, -1, -1, 0, 1}, {0, 0, 0, 0, 8, 24, 32, 56, 72, 96}, 60] (* Harvey P. Dale, Mar 22 2012 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jun 20 2008
STATUS
approved