Back to Search
Start Over
Numerous but rare: an exploration of magic squares.
- Source :
-
PloS one [PLoS One] 2015 May 14; Vol. 10 (5), pp. e0125062. Date of Electronic Publication: 2015 May 14 (Print Publication: 2015). - Publication Year :
- 2015
-
Abstract
- How rare are magic squares? So far, the exact number of magic squares of order n is only known for n ≤ 5. For larger squares, we need statistical approaches for estimating the number. For this purpose, we formulated the problem as a combinatorial optimization problem and applied the Multicanonical Monte Carlo method (MMC), which has been developed in the field of computational statistical physics. Among all the possible arrangements of the numbers 1; 2, …, n(2) in an n × n square, the probability of finding a magic square decreases faster than the exponential of n. We estimated the number of magic squares for n ≤ 30. The number of magic squares for n = 30 was estimated to be 6.56(29) × 10(2056) and the corresponding probability is as small as 10(-212). Thus the MMC is effective for counting very rare configurations.
- Subjects :
- Computer Simulation
Humans
Monte Carlo Method
Algorithms
Models, Statistical
Subjects
Details
- Language :
- English
- ISSN :
- 1932-6203
- Volume :
- 10
- Issue :
- 5
- Database :
- MEDLINE
- Journal :
- PloS one
- Publication Type :
- Academic Journal
- Accession number :
- 25973764
- Full Text :
- https://doi.org/10.1371/journal.pone.0125062