OFFSET
10,2
COMMENTS
In a semimagic square the row and column sums must all be equal (the "magic sum"). Symmetry is up to permutation of rows and columns and reflection in a diagonal. a(n) is given by a quasipolynomial of degree 5 and period 60.
REFERENCES
Matthias Beck and Thomas Zaslavsky, An enumerative geometry for magic and magilatin labellings, Annals of Combinatorics, 10 (2006), no. 4, pages 395-413. MR 2007m:05010. Zbl 1116.05071.
LINKS
Thomas Zaslavsky, Table of n, a(n) for n = 10..10000.
Matthias Beck and Thomas Zaslavsky, Six Little Squares and How Their Numbers Grow , J. Int. Seq. 13 (2010), 10.6.2.
Matthias Beck and Thomas Zaslavsky, "Six Little Squares and How their Numbers Grow" Web Site: Maple worksheets and supporting documentation.
Index entries for linear recurrences with constant coefficients, signature (0,2,2,0,-3,-3,-2,1,4,4,1,-2,-3,-3,0,2,2,0,-1).
FORMULA
G.f.: x^2/(1-x)^2 * { x^5/[(1-x)^3*(1-x^2)] - 2x^5/[(1-x)*(1-x^2)^2] - x^5/[(1-x)^2*(1-x^3)] - 2x^6/[(1-x)*(1-x^2)*(1-x^3)] - x^6/(1-x^2)^3 - x^7/[(1-x^2)^2*(1-x^3)] + x^5/[(1-x)*(1-x^4)] + 2x^5/[(1-x^2)*(1-x^3)] + 2x^6/[(1-x^2)*(1-x^4)] + x^6/(1-x^3)^2 + x^7/[(1-x^2)*(1-x^5)] + x^7/[(1-x^3)*(1-x^4)] + x^8/[(1-x^3)*(1-x^5)] - x^5/(1-x^5) }. - Thomas Zaslavsky, Mar 03 2010
EXAMPLE
For a(10) the cells contain the nine integers from 1 to 9, which can be arranged in 1 way to make a magic square, up to symmetry. For a(11) the cells contain nine of the ten integers from 1 to 10. The omitted number can only be 1, 4, 7, or 10. Each selection of numbers can be arranged in 1 way, up to symmetry.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Thomas Zaslavsky, Feb 22 2010, Mar 03 2010
STATUS
approved