Twin primes are numbers wherein two numbers have a gap of two. According to Wikipedia, there are 808,675,888,577,436 twin prime pairs below 10^18, or 1 quintillion. Can you find all of those?


3 and 5 are twin primes

5 and 7 are twin primes

11 and 13 are twin primes, et al.

Largest known twin prime

3756801695685 · 2^666669 ± 1.

See also

Community content is available under CC-BY-SA unless otherwise noted.