In mathematics, a palindromic prime (sometimes called a palprime[1]) is a prime number that is also a palindromic number. Palindromicity depends on the base of the number system and its notational conventions, while primality is independent of such concerns. The first few decimal palindromic primes are:
Conjectured no. of terms | Infinite |
---|---|
First terms | 2, 3, 5, 7, 11, 101, 131, 151 |
Largest known term | 101888529 - 10944264 - 1 |
OEIS index |
|
- 2, 3, 5, 7, 11, 101, 131, 151, 181, 191, 313, 353, 373, 383, 727, 757, 787, 797, 919, 929, … (sequence A002385 in the OEIS)
Except for 11, all palindromic primes have an odd number of digits, because the divisibility test for 11 tells us that every palindromic number with an even number of digits is a multiple of 11. It is not known if there are infinitely many palindromic primes in base 10. For any base, almost all palindromic numbers are composite,[2] i.e. the ratio between palindromic composites and all palindromes less than n tends to 1.
A large example,
- 101888529 - 10944264 - 1,
which has 1,888,529 digits, was found on 18 October 2021 by Ryan Propper and Serge Batalov.[3]
Other bases
editIn binary, the palindromic primes include the Mersenne primes and the Fermat primes. All binary palindromic primes except binary 11 (decimal 3) have an odd number of digits; those palindromes with an even number of digits are divisible by 3. The sequence of binary palindromic primes begins (in binary):
Property
editDue to the superstitious significance of the numbers it contains, the palindromic prime 1000000000000066600000000000001 is known as Belphegor's Prime, named after Belphegor, one of the seven princes of Hell. Belphegor's Prime consists of the number 666, on either side enclosed by thirteen zeroes and a one. Belphegor's Prime is an example of a beastly palindromic prime in which a prime p is palindromic with 666 in the center. Another beastly palindromic prime is 700666007.[4]
Ribenboim defines a triply palindromic prime as a prime p for which: p is a palindromic prime with q digits, where q is a palindromic prime with r digits, where r is also a palindromic prime.[5] For example, p = 1011310 + 4661664×105652 + 1, which has q = 11311 digits, and 11311 has r = 5 digits. The first (base-10) triply palindromic prime is the 11-digit number 10000500001. It is possible that a triply palindromic prime in base 10 may also be palindromic in another base, such as base 2, but it would be highly remarkable if it were also a triply palindromic prime in that base as well.
See also
editReferences
edit- ^ De Geest, Patrick. "World of Palindromic Primes". World!Of Numbers. Retrieved 1 April 2023.
- ^ Banks, William D.; Hart, Derrick N.; Sakata, Mayumi (2004). "Almost all palindromes are composite". Mathematical Research Letters. 11 (5–6): 853–868. arXiv:math/0405056. doi:10.4310/MRL.2004.v11.n6.a10. MR 2106245.
- ^ Chris Caldwell, The Top Twenty: Palindrome
- ^ See Caldwell, Prime Curios! (CreateSpace, 2009) p. 251, quoted in Wilkinson, Alec (February 2, 2015). "The Pursuit of Beauty". The New Yorker. Retrieved January 29, 2015.
- ^ Paulo Ribenboim, The New Book of Prime Number Records