This site is supported by donations to The OEIS Foundation.



The OEIS is looking to hire part-time people to help edit core sequences, upload scanned documents, process citations, fix broken links, etc. - Neil Sloane, njasloane@gmail.com

(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A271103 Number of magic and semi-magic squares of order n composed of the numbers from 1 to n^2, counted up to rotations and reflections. 3
1, 0, 9, 68688, 579043051200 (list; graph; refs; listen; history; text; internal format)



A semi-magic square differs from a magic square in that at least one of its main diagonals does not sum to the magic constant. [Walter Trump]

The number of order 4 magic and semi-magic squares was computed by Mutsumi Suzuki, and could be found on his former web site. Mutsumi Suzuki's pages are now hosted by Math Forum at Drexel University.

The number of order 5 magic and semi-magic squares was computed by Walter Trump in March 2000.


Table of n, a(n) for n=1..5.

Mutsumi Suzuki, Magic Squares, hosted by Math Forum at Drexel University.

Walter Trump, How many magic squares are there? - Results of historical and computer enumeration.


a(n) = A271104(n)* n^2. - William Walkington, Apr 11 2016


Cf. A006052, A270876, A271104.

Sequence in context: A159398 A053971 A013790 * A058452 A058456 A014381

Adjacent sequences:  A271100 A271101 A271102 * A271104 A271105 A271106




William Walkington, Mar 30 2016



Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified May 29 16:53 EDT 2017. Contains 287252 sequences.