Twin Primes definition
Twin primes are two prime numbers whose difference is 2.
Twin Primes in a picture
How it works
Examples include 5 and 7, and 17 and 19. Their difference is the smallest possible gap between two distinct odd primes. A candidate pair must contain two primes. When both numbers exceed 3, their midpoint is a multiple of 6.
Worked examples
Are 11 and 13 twin primes?
Yes. Both are prime and 13 − 11 = 2.
Are 19 and 21 twin primes?
No. Although the gap is 2, 21 is composite.
Find the midpoint of twin primes 29 and 31.
The midpoint is 30, a multiple of 6.
Common mistake
Check primality for both numbers before checking their difference.
Quick check
Is a difference of 4 a twin-prime gap?
Show answer
No. A twin pair has difference 2.
Are 3 and 5 twin primes?
Show answer
Yes.
Sources
Flashcard
Twin Primes
Reveal the definition
Twin primes are two prime numbers whose difference is 2.
Effortless Math. “Twin Primes.” Math Dictionary.
