Spiral of Primes

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.

The natural numbers are arranged along an Archimedean spiral so that the squares 1, 4, 9, … are on the axis, with the primes drawn in blue, up to a circle of radius . The spiral is parametrized in polar coordinates by , . Also shown is the curve given by , (red), and its intersections with the spiral (purple boxes).

Contributed by: Enrique Zeleny (November 2012)
Open content licensed under CC BY-NC-SA




[1] R. Sacks. Number Spiral. (2007) www.numberspiral.com.

[2] H. Hahn. "The Distribution of Prime Numbers on the Square Root Spiral." arXiv. (Jan 9, 2008) arxiv.org/abs/0801.1441.

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.