There are pairs of prime numbers which have certain properties: twin primes are two prime numbers exactly 2 apart, cousin primes are 4 apart and sexy primes (the name comes from Latin for "six") are 6 apart. This piece draws arcs showing the distances between consecutive pairs of twin, cousin and sexy primes. Prime numbers are plotted vertically as white circles, from top to bottom.

Roll over the arcs to reveal the prime number relations. Scroll down to see more.

Primes

plotting distances between pairs of primes numbers

Built with d3

Data from allthingsuniverse.com