Prime Gap definition
A prime gap is the difference between two consecutive prime numbers.
Prime Gap in a picture
How it works
If p is prime and q is the very next prime after it, the gap is q − p. The first gap, between 2 and 3, is 1. Every later prime gap is even because both primes are odd.
Worked examples
Find the gap between 13 and its next prime.
The next prime is 17, so the gap is 4.
Are 11 and 17 consecutive primes?
No. The prime 13 lies between them.
What gap identifies a pair of twin primes?
A gap of 2.
Common mistake
Subtract the two prime values. There is one fewer integer strictly between them than the size of the gap.
Quick check
How many integers lie strictly inside a prime gap of 6?
Show answer
5.
Why are prime gaps after the first gap even?
Show answer
The difference between two odd primes is even.
Sources
Flashcard
Prime Gap
Reveal the definition
A prime gap is the difference between two consecutive prime numbers.
Effortless Math. “Prime Gap.” Math Dictionary.
