Number of Magic Squares From Parallel Tempering Monte Carlo

Abstract

There are 880 magic squares of size 4 by 4, and 275,305,224 of size 5 by 5. It seems very difficult if not impossible to count exactly the number of higher order magic squares. We propose a method to estimate these numbers by Monte Carlo simulating magic squares at finite temperature. One is led to perform low temperature simulations of a system with many ground states that are separated by energy barriers. The Parallel Tempering Monte Carlo method turns out to be of great help here. Our estimate for the number of 6 by 6 magic squares is 0.17745(16) times 10**20.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…