Primeval number


In mathematics, a primeval number is a natural number n for which the number of prime numbers which can be obtained by permuting some or all of its digits is larger than the number of primes obtainable in the same way for any smaller natural number. Primeval numbers were first described by Mike Keith.
The first few primeval numbers are
The number of primes that can be obtained from the primeval numbers is
The largest number of primes that can be obtained from a primeval number with n digits is
The smallest n-digit number to achieve this number of primes is
Primeval numbers can be composite. The first is 1037 = 17×61. A Primeval prime is a primeval number which is also a prime number:
The following table shows the first seven primeval numbers with the obtainable primes and the number of them.
Primeval numberPrimes obtainedNumber of primes
10
221
133, 13, 313
373, 7, 37, 734
1077, 17, 71, 107, 7015
1133, 11, 13, 31, 113, 131, 3117
1373, 7, 13, 17, 31, 37, 71, 73, 137, 173, 31711

In base 12, the primeval numbers are:
The number of primes that can be obtained from the primeval numbers is:
Primeval numberPrimes obtainedNumber of primes
10
221
133, 312
155, 15, 513
575, 7, 57, 754
1155, 11, 15, 51, 5115
1177, 11, 17, 117, 171, 7116
1252, 5, 15, 25, 51, 125, 2517
1353, 5, 15, 31, 35, 51, 315, 5318
1575, 7, 15, 17, 51, 57, 75, 157, 175, 517, 75111

Note that 13, 115 and 135 are composite: 13 = 3×5, 115 = 7×1Ɛ, and 135 = 5×31.