Largest gap here: 6, the run of composites after 23. Average gap across these 10 steps: 2.90. Near x the average runs at about ln x. The leading 1, from 2 to 3, is the only odd gap there is: every prime after 2 is odd, so every later gap is even.
Settings
Quick presets
Fine-tune the look
Pick a preset next to the image first — these controls adjust it.
Frame
A border drawn inside the edge of the image.
Advanced
Results
10 values
Largest gap here: 6, the run of composites after 23. Average gap across these 10 steps: 2.90. Near x the average runs at about ln x. The leading 1, from 2 to 3, is the only odd gap there is: every prime after 2 is odd, so every later gap is even.
Make an image
Turn on JavaScript to style and download these numbers as an image. The values themselves are listed above.
Text on the image
Drag a line straight onto the picture to place it — once placed, it stays exactly where you put it. Everything here is drawn into the download.
Prints "Seed: your-seed" under the numbers, so anyone holding the picture can run the same draw again. Remembered for every generator here.
No text on this image yet.
Colour
Advanced
What are the first 10 prime gaps?
The first 10 prime gaps are:
1, 2, 2, 4, 2, 4, 2, 4, 6, 2
How prime gaps work
The full explainer — where prime gaps come from, what they are used for and how each term is worked out — is on the generator page.