Cousin primes

In mathematics, a cousin primes is a set of two prime numbers of the form {p, p + 4}. Compare this with twin primes, pairs of prime numbers that differ by two, and sexy primes, pairs of prime numbers that differ by six.

The only prime belonging to two pairs of cousin primes is 7. One of the numbers n, n+4, n+8 will always be divisible by 3, so n = 3 is the only case where all three are primes.

First 20: {3, 7}, {7, 11}, {13, 17}, {19, 23}, {37, 41}, {43, 47}, {67, 71}, {79, 83}, {97, 101}, {103, 107}, {109, 113}, {127, 131}, {163, 167}, {193, 197}, {223, 227}, {229, 233}, {277, 281}, {307, 311}, {313, 317}, {349, 353}

Checkout list of first: 10, 50, 100, 500, 1000 cousin primes. You can also check all cousin primes.

Checkout cousin primes up to: 100, 500, 1000, 10000.

Visualization#

Every frame counter is increased by one. If it is cousin prime then dot appears. Color has no meaning. Video has 25fps.

You can also compare it with other types.

External#

Tags#

This website uses cookies to ensure you get the best experience on our website. More info