Tuesday 24 October 2023

Prime Digits

One of the more obvious properties of 27232, my diurnal age today, is that all its digits are prime. Numbers whose digits contain only prime digits belong to OEIS A046034. The sequence begins:

2, 3, 5, 7, 22, 23, 25, 27, 32, 33, 35, 37, 52, 53, 55, 57, 72, 73, 75, 77, 222, 223, 225, 227, 232, 233, 235, 237, 252, 253, 255, 257, 272, 273, 275, 277, 322, 323, 325, 327, 332, 333, 335, 337, 352, 353, 355, 357, 372, 373, 375, 377, 522, 523, 525, 527, 532

In the range up to 40,000, there are 852 such numbers, constituting 2.13% of the total. Clearly not all these numbers are prime. In fact only 124 are. These primes that contain only prime digits are as follows:

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

These numbers constitute OEIS A019546. Numbers in this sequence ending in the digit 2 will always be followed by the next number ending in 3. Permalink. Figure 1 is a plot of the previous numbers.


Figure 1

Getting back to OEIS A046034, there will be concentrations of such numbers and now that my diurnal age has reached the 272 hundreds I'm entering such a cluster. The first number was 27222 followed by 27223 and now 27232, 27233 etc. The first prime is 27253.

No comments:

Post a Comment