To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.

Palindromic prime

From Wikipedia, the free encyclopedia

Palindromic prime
Conjectured no. of termsInfinite
First terms2, 3, 5, 7, 11, 101, 131, 151
Largest known term10474500 + 999 × 10237249 + 1
OEIS index
  • A002385
  • Palindromic primes: prime numbers whose decimal expansion is a palindrome

A palindromic prime (sometimes called a palprime) is a prime number that is also a palindromic number. Palindromicity depends on the base of the numbering system and its writing conventions, while primality is independent of such concerns. The first few decimal palindromic primes are:

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. The largest known as of March 2019 is (474,501 digits):

10474500 + 999 × 10237249 + 1.

It was found in 2014 by Serge Batalov.[1] On the other hand, it is known that, for any base, almost all palindromic numbers are composite,[2] i.e. the ratio between palindromic composites and all palindromes below n tends to 1.

In 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):

11, 101, 111, 10001, 11111, 1001001, 1101011, 1111111, 100000001, 100111001, 110111011, ... (sequence A117697 in the OEIS)

The palindromic primes in base 12 are: (using reversed two and three for ten and eleven, respectively)

2, 3, 5, 7, Ɛ, 11, 111, 131, 141, 171, 181, 1Ɛ1, 535, 545, 565, 575, 585, 5Ɛ5, 727, 737, 747, 767, 797, Ɛ1Ɛ, Ɛ2Ɛ, Ɛ6Ɛ, ...

Due 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.[3]

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.[4] 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 10000500001. It's 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.

YouTube Encyclopedic

  • 1/3
    2 053
    2 160
  • ✪ Java - Prime Palindromes
  • ✪ PYTHON Recursion - Palindrome prime numbers
  • ✪ Unit 0 Lesson 10 Prime Palindromes



  1. ^ Chris Caldwell, The Top Twenty: Palindrome
  2. ^ William D. Banks, Derrick N. Hart, Mayumi Sakata, February 1, 2008 "Almost All Palindromes Are Composite"
  3. ^ 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.
  4. ^ Paulo Ribenboim, The New Book of Prime Number Records
This page was last edited on 21 June 2019, at 22:53
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.