cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A173725 Number of symmetry classes of 3 X 3 semimagic squares with distinct positive values and magic sum n.

Original entry on oeis.org

1, 2, 4, 8, 12, 20, 29, 42, 54, 82, 97, 131, 169, 207, 249, 331, 372, 459, 551, 647, 745, 911, 1007, 1184, 1374, 1553, 1739, 2049, 2231, 2539, 2867, 3183, 3509, 3999, 4316, 4820, 5340, 5835, 6350, 7104, 7607, 8352, 9132, 9882, 10651, 11724, 12472, 13551
Offset: 15

Views

Author

Thomas Zaslavsky, Feb 23 2010

Keywords

Comments

In a semimagic square the row and column sums must all be equal to the magic sum. The symmetries are permutation of rows and columns and reflection in a diagonal. a(n) is given by a quasipolynomial of degree 4 and period 840.

Examples

			a(15) is the first term because the values 1,...,9 make magic sum 15. By symmetries one can assume a_{11} is smallest, and a_{11} < a_{12} < a_{21} < a_{31} < a_{13}. a(15)=1 because there is only one normal form with values 1,...,9 (equivalent to the classical 3 X 3 magic square). a(16)=2 because the values 1,...,8,10 give two normal forms.
		

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.

Crossrefs

Cf. A173547, A173726. A173723 counts symmetry types by largest cell value.

Formula

G.f.: (x^3)/(1-x^3) * { x^7/[(x-1)*(x^2-1)^3] + 2x^7/[(x-1)*(x^2-1)*(x^4-1)] + x^7/[(x-1)*(x^6-1)] + x^7/[(x^2-1)^2*(x^3-1)] + x^7/[(x^2-1)*(x^5-1)] + x^7/[(x^3-1)*(x^4-1)] + x^7/(x^7-1) + x^9/[(x-1)*(x^4-1)^2] + 2*x^9/[(x^2-1)*(x^3-1)*(x^4-1)] + 2*x^9/[(x^3-1)*(x^6-1)] + x^9/[(x^4-1)*(x^5-1)] + x^11/[(x^3-1)*(x^4-1)^2] + x^11/[(x^3-1)*(x^8-1)] + x^11/[(x^5-1)*(x^6-1)] + x^13/[(x^5-1)*(x^8-1)] }. - Thomas Zaslavsky, Mar 03 2010