Special Prime Circles

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.

A prime circle of order contains the numbers from 1 to such that the sum of every pair of adjacent numbers is prime. A special prime circle is similar, except that the positive difference between adjacent numbers is also prime. This Demonstration generates one prime circle of every possible order between 14 and 50 and highlights the sum and positive difference of adjacent numbers.

Contributed by: Matthew Riedman and Samson Wiener (March 2019)
Suggested by: Matthew Hoek
Open content licensed under CC BY-NC-SA



Use the slider to select the highlighted pair and "number" in the drop-down menu to set the order of the special prime circle.

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.