The Ulam spiral, also known as the Ulam spiral or prime spiral, is a graphical depiction of the prime numbers, named after the mathematician Stanislaw Ulam, who first created it in 1963. To construct the Ulam spiral, you start by placing the natural numbers in a spiral pattern on a two-dimensional grid.
New to topics? Read the docs here!