# Prime Triplets

In mathematics, a prime triplet is a set of three prime numbers of the form (p, p + 2, p + 6) or (p, p + 4, p + 6). With the exceptions of (2, 3, 5) and (3, 5, 7), this is the closest possible grouping of three prime numbers, since one of every three sequential odd numbers is a multiple of three, and hence not prime (except for 3 itself).

A prime triplet contains a pair of twin primes (p and p + 2, or p + 4 and p + 6), a pair of cousin primes (p and p + 4, or p + 2 and p + 6), and a pair of sexy primes (p and p + 6).

First 20: {5, 7, 11}, {7, 11, 13}, {11, 13, 17}, {13, 17, 19}, {17, 19, 23}, {37, 41, 43}, {41, 43, 47}, {67, 71, 73}, {97, 101, 103}, {101, 103, 107}, {103, 107, 109}, {107, 109, 113}, {191, 193, 197}, {193, 197, 199}, {223, 227, 229}, {227, 229, 233}, {277, 281, 283}, {307, 311, 313}, {311, 313, 317}, {347, 349, 353}

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

## Visualization#

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

You can also compare it with other types.

## External#

- OEIS: A098420
- Wikipedia: Prime triplets
- Youtube: Visualization up to 1 million

## Tags#

## Related Articles#

- Sexy primes
- Prime Quintuplets 2
- Sexy prime triplets
- Cousin primes
- Prime Sextuplets
- Twin primes
- Prime Quintuplets 1
- Prime Quadruplets
- Sexy prime quadruplets
- Chen Primes
- Safe Primes
- Sophie Germain Primes
- Prime numbers
- Proth Primes
- Pythagorean Primes
- Quartan Primes
- Restricted Left-truncatable primes
- Restricted Right-truncatable primes
- Pierpont Primes
- Additive and Multiplicative Primes
- Right-truncatable primes
- Palindromic Primes
- Solinas Primes
- Super Primes
- Thabit primes of the 2nd kind
- Thabit Primes
- Two sided primes
- Ulam Primes
- Wagstaff Primes
- Weakly Primes
- Wedderburn-Etherington Primes
- Wilson Primes
- Pierpont Primes Of the 2nd kind
- Mills Primes
- Multiplicative Primes
- Euclid Primes
- Bell Primes
- Carol Primes
- Centered Decagonal Primes
- Centered Heptagonal Primes
- Centered Square Primes
- Centered Triangular Primes
- Class 1+ Primes
- Cuban Primes 1
- Cuban Primes 2
- Cullen Primes
- Dihedral Primes
- Double Mersenne Primes
- Emirps
- Factorial Primes
- Additive Primes
- Fermat Primes
- Fibonacci Primes
- Genocchi Primes
- Good Primes
- Happy Primes
- Harmonic Primes
- Isolated Primes
- Kynea Primes
- Left-truncatable primes
- Leyland Primes
- Long Primes
- Lucas Primes
- Lucky Primes
- Mersenne Primes
- Woodall Primes