The Ulam Prime Spiral

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Inspired by the square spiral of Stanislaw Ulam, the prime numbers are plotted on a spiral number line. Each prime on the wound line is marked with a dot. Adjusting the tightness of the winding and the density allows different patterns to emerge.

Contributed by: Christopher Skiscim (June 2008)
Based on a program by: Greg Keogh
Open content licensed under CC BY-NC-SA



For the original inspiration, see

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.