Prime magic squares are magic squares containing only prime numbers. The
magic constant does not have to be the same for each order and therefore
it may vary significantly from other prime magic squares of the same
order. Therefore, they also do not need to be consecutive, however, the
closer to
consecutive
they are the more perfect the prime magic square becomes. A prime magic
square can also be a
hetero square
(left image), in that case, each sum of rows, columns and diagonals equals
to a different prime number. Prime magic squares can also be
associative,
pandiagonal,
ultramagic, etc.