# Prime Magic Square/Examples

## Examples of Prime Magic Squares

### Order $3$

There are many order $3$ prime magic squares.

#### Smallest Order $3$ Prime Magic Square

The order $3$ prime magic square which has the smallest elements is as follows:

$\begin{array}{|c|c|c|} \hline 67 & 1 & 43 \\ \hline 13 & 37 & 61 \\ \hline 31 & 73 & 7 \\ \hline \end{array}$

#### Smallest Order $3$ Prime Magic Square with Consecutive Primes

The smallest prime magic square which has the smallest elements which are consecutive primes is the following one of order $3$:

$\begin{array}{|c|c|c|} \hline 1 \, 480 \, 028 \, 159 & 1 \, 480 \, 028 \, 153 & 1 \, 480 \, 028 \, 201 \\ \hline 1 \, 480 \, 028 \, 213 & 1 \, 480 \, 028 \, 171 & 1 \, 480 \, 028 \, 129 \\ \hline 1 \, 480 \, 028 \, 141 & 1 \, 480 \, 028 \, 189 & 1 \, 480 \, 028 \, 183 \\ \hline \end{array}$

### Order $12$

There are many order $12$ prime magic squares.

#### Smallest Order $12$ Prime Magic Square with Consecutive Primes from $3$

This order $12$ prime magic square is the smallest whose elements, with $1$, are the consecutive odd primes from $3$:

$\begin{array}{|c|c|c|c|c|c|c|c|c|c|c|c|} \hline 1 & 823 & 821 & 809 & 811 & 797 & 19 & 29 & 313 & 31 & 23 & 37 \\ \hline 89 & 83 & 211 & 79 & 641 & 631 & 619 & 709 & 617 & 53 & 43 & 739 \\ \hline 97 & 227 & 103 & 107 & 193 & 557 & 719 & 727 & 607 & 139 & 757 & 281 \\ \hline 223 & 653 & 499 & 197 & 109 & 113 & 563 & 479 & 173 & 761 & 587 & 157 \\ \hline 367 & 379 & 521 & 383 & 241 & 467 & 257 & 263 & 269 & 167 & 601 & 599 \\ \hline 349 & 359 & 353 & 647 & 389 & 331 & 317 & 311 & 409 & 307 & 293 & 449 \\ \hline 503 & 523 & 233 & 337 & 547 & 397 & 421 & 17 & 401 & 271 & 431 & 433 \\ \hline 229 & 491 & 373 & 487 & 461 & 251 & 443 & 463 & 137 & 439 & 457 & 283 \\ \hline 509 & 199 & 73 & 541 & 347 & 191 & 181 & 569 & 577 & 571 & 163 & 593 \\ \hline 661 & 101 & 643 & 239 & 691 & 701 & 127 & 131 & 179 & 613 & 277 & 151 \\ \hline 659 & 673 & 677 & 683 & 71 & 67 & 61 & 47 & 59 & 743 & 733 & 41 \\ \hline 827 & 3 & 7 & 5 & 13 & 11 & 787 & 769 & 773 & 419 & 149 & 751 \\ \hline \end{array}$