The Wayback Machine - https://web.archive.org/web/20250311092419/https://www.geeksforgeeks.org/sexy-primes/
Open In App

Sexy Primes

Last Updated : 14 Oct, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Share
Report
News Follow

Sexy primes are pairs of prime numbers where the difference between them is 6. For example, in the pair (5,11), both 5 and 11 are sexy prime numbers, as the difference between them is 6 also 7 and 13 is another example of Sexy Primes. The name "sexy" comes from the Latin word "sex," which means six​.

Sexy Primes are similar to twin primes and cousin primes where the difference between the two primes is 2 and 4 respectively.

Examples of Sexy Prime Pairs

Here are some common sexy prime pairs that appear in the list of prime numbers:

  • 5 and 11
  • 7 and 13
  • 11 and 17
  • 13 and 19
  • 17 and 23

List of First 20 Sexy Primes

The following table contains the first 20 sexy primes,

S No.

Sexy Primes

S No.

Sexy Primes

1

(5,11)

11

(61,67)

2

(7,13)

12

(73,79)

3

(11,17)

13

(83,89)

4

(13,19)

14

(97,103)

5

(17,23)

15

(101,107)

6

(23,29)

16

(107,113)

7

(31,37)

17

(131,137)

8

(37,43)

18

(151,157)

9

(47,53)

19

(173,179)

10

(53,59)

20

(191,197)

Sexy Primes in Prime Constellations

Sexy primes don’t only appear as pairs; they can also form larger groups of three or more primes, known as Prime constellations. These constellations show how prime numbers can follow regular patterns:

  • Sexy Triplets: For example, the triplet (7,13,19) is made up of three prime numbers, each 6 units apart. This means the difference between 7 and 13 is 6, and the difference between 13 and 19 is also 6. Some other sexy triplets are (17,23,29), (31,37,43), (47,53,59), (61,67,73).
  • Sexy Quadruplets: Another example is the quadruplet (11,17,23,29), where all four primes are spaced 6 units apart. Some other sexy Quadruplets are (41,47,53,59), (61,67,73,79), (251,257,263,269).
  • Sexy Quintuplets: The most special case is the quintuplet (5,11,17,23,29) which contains five primes spaced 6 units apart.

These larger groups are much rarer than simple sexy prime pairs, but they highlight fascinating patterns in the way primes are distributed. The sexy quintuple of (5,11,17,23,29) is the only known example of five sexy primes in a row.​

Interesting Properties of Sexy Primes

Sexy primes have some unique Properties:

  • Sexy Primes often leave remainders of 1 or 5 when divided by 6, which is a special property of these primes.
  • They follow Benford’s Law, which predicts that smaller digits, like 1, appear more often as the leading digit in real-world datasets. This pattern also shows up in the leading digits of sexy primes.

Sexy, Cousin and Twin Primes

Sext, Twin, and Cousin primes are considered similar types of primes, where two primes differ by a specific finite number.

Prime TypeDefinitionExamples
Cousin PrimesA pair of prime numbers that differ by 4.(3, 7), (7, 11), (13, 17), (19, 23)
Twin PrimesA pair of prime numbers that differ by 2.(3, 5), (11, 13), (17, 19), (29, 31)
Sexy PrimesA pair of prime numbers that differ by 6.(5, 11), (7, 13), (11, 17), (13, 19)

Read More:

Conclusion

In simple terms, sexy primes are a special kind of prime numbers where two primes are exactly 6 units apart, like (5,11) or (7,13). These primes can also form larger groups, such as sexy triplets and sexy quadruplets, where three or four primes follow this same pattern. Although sexy primes become less common as numbers get larger, they help mathematicians study how primes are distributed and discover interesting number patterns.

Sexy Primes - FAQs

What are the prime numbers with a difference of 6?

The prime numbers with a difference of 6 are called as Sexy Primes. Example 5 and 11, 7 and 13.

Are Sexy Primes same as twin primes?

Sexy Primes are prime numbers with a difference of 6 whereas, Twin Primes are prime numbers with a difference of 2.

What are the first 5 sexy Primes?

The first 5 sexy Primes are (5,11), (7,13), (11,17), (13,19), (17,23)


Next Article
Practice Tags :

Similar Reads

three90RightbarBannerImg