Twin prime conjecture

ID: twin-prime-conjecture

The conjecture asserts that infinitely many prime numbers have prime. The Hardy–Littlewood twin-prime asymptotic conjecture predicts their quantitative frequency and is stronger. The Selberg sieve supplies an upper bound of the predicted order but does not prove infinitude.
Twin prime conjecture by Ciro Santilli 40 Updated 2025-07-16
Let's show them how it's done with primes + awk. Edit. They have a -d option which also shows gaps!!! Too strong:
sudo apt install bsdgames
primes -d 1 100 | awk '/\(2\)/{print $1 - 2, $1 }'
gives us the list of all twin primes up to 100:
0 2
3 5
5 7
11 13
17 19
29 31
41 43
59 61
71 73
Tested on Ubuntu 22.10.

New to topics? Read the docs here!