Ulam Spiral
The Ulam spiral is a method of visualizing the distribution of prime numbers. Discovered by Stanislaw Ulam in 1963. Construct by writing down a rectangular grid of numbers, starting with 1 at the center and spiraling out. Highlight prime numbers. Yields, in part, diagonal line patterns.
Ulam spiral. Image source: Wikipedia. |