Realizing the great number of different magic squares, it was nearly impossible to recognize differences on existing magic squares. But this changed with fast computer systems, because they were able to distinguish magic squares by reflections and rotations. As a result it was found, for example, that there are an incredible 275 305 224 magic squares of 5th order (in words: 275 millions 305 thousands 224 magic squares).

The current state of knowledge is given in the following table.

- N(n): the number of magic squares of order n without analyzing of symmetries.
- P(n): the number of magic squares of order n, where squares, which only differ by rotation or reflection are only counted once.

Order | N(n) | P(n) |
---|---|---|

2 | 0 | 0 |

3 | 8 | 1 |

4 | 7040 | 880 |

5 | 2 202 441 792 | 275 305 224 |

6 | ? | ? |

Walter Trump has dealt extensively with the number of different magic squares. His results are summarized in the following table.

Order | semi-magic | normal | symmetrical | pandiagonal | ultramagic |
---|---|---|---|---|---|

3 | 9 | 1 | 1 | 0 | 0 |

4 | 68 688 | 880 | 48 | 48 | 0 |

5 | 579 043 051 200 | 275 305 224 | 48 544 | 3 600 | 16 |

6 | 9.4597 ·10^{22} |
1.775399 ·10^{19} |
0 | 0 | 0 |

7 | 4.2848 ·10^{38} |
3.79809 ·10^{34} |
1.12515 ·10^{18} |
1.21 ·10^{17} |
20 190 684 |

8 | 1.0806 ·10^{59} |
5.2225 ·10^{54} |
2.5228 ·10^{27} |
? | 4.677 ·10^{15} |

9 | 2.9008 ·10^{84} |
7.8448 ·10^{79} |
7.2800 ·10^{40} |
? | 1.363 ·10^{24} |

10 | 1.4626 ·10^{115} |
2.4149 ·10^{110} |
0 | 0 | 0 |

Further explanation and information about the values of this table can be found on the web pages of Walter Trump.