User:Brown.ry/sandbox
This is a user sandbox of Brown.ry. A user sandbox is a subpage of the user's user page. It serves as a testing spot and page development space for the user and is not an encyclopedia article. |
Wikipedia policies
[edit]Text
Wikipedia:Identifying_reliable_sources_(medicine)
This text should be referenced.[1]
This text should also be referenced.[2]
Enumeration of magic squares
[edit]As mentioned above, the set of normal squares of order three constitutes a single equivalence class-all equivalent to the Lo Shu square. Thus there is basically just one normal magic square of order 3. But the number of distinct normal magic squares rapidly increases for higher orders.[3] There are 880 distinct magic squares of order 4 and 275,305,224 of order 5.[4] The number of distinct normal squares is not yet known for any higher order.[5]
Algorithms tend to only generate magic squares of a certain type or classification, making counting all possible magic squares quite difficult. Traditional counting methods have proven unsuccessful, statistical analysis using the Monte Carlo method has been applied. The basic principle applied to magic squares is to randomly generate n × n matrices of elements 1 to n2 and check if the result is a magic square. The probability that a randomly generated matrix of numbers is a magic square is directly proportional to the number of magic squares.[6]
More intricate versions of the Monte Carlo method, such as the exchange Monte Carlo, and Monte Carlo Backtracking have produced even more accurate estimations. Using these methods it has been shown that the probability of magic squares decreases rapidly as n increases. Using fitting functions give the curves seen to the right.
Subsection
[edit]References
[edit]- ^ Reference yo
- ^ Another reference!
- ^ How many magic squares are there? by Walter Trump, Nürnberg, January 11, 2001
- ^ A006052 in the on-line encyclopedia of integer sequences
- ^ Anything but square: from magic squares to Sudoku by Hardeep Aiden, Plus Magazine, March 1, 2006
- ^ Kitajima, Akimasa; Kikuchi, Macoto; Altmann, Eduardo G. (14 May 2015). "Numerous but Rare: An Exploration of Magic Squares". PLOS ONE. 10 (5): e0125062. doi:10.1371/journal.pone.0125062. PMID PMC4431883.
{{cite journal}}
:|access-date=
requires|url=
(help); Check|pmid=
value (help)CS1 maint: unflagged free DOI (link)