Prime Spiral

You have to make a 2-D spiral square $N \times N$ grid with prime numbers. Sounds complicated? Well, it’s always easier to understand by visual representation.


This is a companion discussion topic for the original entry at https://toph.co/p/prime-spiral