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 (in base 10) 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 prime 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 six primeval numbers with the obtainable primes and the number of them.
|Primeval number||Primes obtained||Number of primes|
|13||3, 13, 31||3|
|37||3, 7, 37, 73||4|
|107||7, 17, 71, 107, 701||5|
|113||3, 11, 13, 31, 113, 131, 311||7|