Saturday 10 August 2024

What's Special About 27527?

I've written before about primes whose digits are all prime in two earlier posts:

It's time to revisit this topic because, as I count my diurnal age, I have 27527 coming up in four days time and it is such a prime. These primes are rare indeed and need to be celebrated. Here is the list of the 124 such primes up to 40000 (permalink):

2, 3, 5, 7, 23, 37, 53, 73, 223, 227, 233, 257, 277, 337, 353, 373, 523, 557, 577, 727, 733, 757, 773, 2237, 2273, 2333, 2357, 2377, 2557, 2753, 2777, 3253, 3257, 3323, 3373, 3527, 3533, 3557, 3727, 3733, 5227, 5233, 5237, 5273, 5323, 5333, 5527, 5557, 5573, 5737, 7237, 7253, 7333, 7523, 7537, 7573, 7577, 7723, 7727, 7753, 7757, 22273, 22277, 22573, 22727, 22777, 23227, 23327, 23333, 23357, 23537, 23557, 23753, 23773, 25237, 25253, 25357, 25373, 25523, 25537, 25577, 25733, 27253, 27277, 27337, 27527, 27733, 27737, 27773, 32233, 32237, 32257, 32323, 32327, 32353, 32377, 32533, 32537, 32573, 33223, 33353, 33377, 33533, 33577, 33757, 33773, 35227, 35257, 35323, 35327, 35353, 35527, 35533, 35537, 35573, 35753, 37223, 37253, 37273, 37277, 37337, 37357, 37537, 37573


As can be seen, it's been a while since the last such prime (27337) and it will be quite a while to the next (27733). Furthermore, 27527 has the added property that the sum of its digits (23) is also prime. There are only 61 of these numbers in the range up to 40000. They are (permalink):

2, 3, 5, 7, 23, 223, 227, 337, 353, 373, 557, 577, 733, 757, 773, 2333, 2357, 2377, 2557, 2753, 2777, 3253, 3257, 3323, 3527, 3727, 5233, 5237, 5273, 5323, 5527, 7237, 7253, 7523, 7723, 7727, 22573, 23327, 25237, 25253, 25523, 27253, 27527, 32233, 32237, 32257, 32323, 32327, 33223, 33353, 33377, 33533, 33773, 35227, 35353, 35533, 35537, 35573, 35753, 37223, 37337

Figure 1 shows the distribution of these primes:


Figure 1: permalink

Not of all of these prime sums of digits have digits that are all prime. 27527 with its digit sum of 23 qualifies but others don't. In fact there are only 15 numbers with digit sums that are prime and that have all of the digits of this sum prime. These are (permalink):

2, 3, 5, 7, 23, 223, 2777, 7727, 27527, 33377, 33773, 35537, 35573, 35753, 37337

Similarly, not all of these previously listed primes have a digital arithmetic root that is prime. However, 27527 does because its sum of digits (23) leads to a root of 5. There are only 19 such primes in the range up to 40000. They are (permalink):

2, 3, 5, 7, 23, 223, 227, 353, 2333, 2777, 3323, 7727, 27527, 33377, 33773, 35537, 35573, 35753, 37337

So in summary 27527 is special because:
  • it is prime: 27527
  • all its digits are prime: 2, 5 and 7
  • the sum of its digits is prime: 23
  • the digits of its sum of digits are prime: 2 and 3
  • its arithmetic digital root is prime: 5
All these properties fall within the realm of recreational Mathematics because they are base dependent but nonetheless they are interesting to numberphiles who find number properties of any type in any base to be fascinating.

No comments:

Post a Comment