Ulam Spiral

When plotting numbers in a spiral, interesting patterns seem to emerge
in the prime distribution. Discovered by Stanislaw Ulam in 1963.

The numbers 1..n are plotted in a spiral

Gray and blue rectangles indicate prime numbers

Blue rectangles are highlighted to display patterns

Learn more on Wikipedia

by Daniel Evilsizor