Search a number
truncatable primes
A prime  $p$  is called truncatable if all its prefixes or all its suffixes are primes. More precisely, they are respectively called right-truncatable primes, and left-truncatable primes.

In both cases only zeroless numbers are considered.

For example, the prime 23399 is a (right) truncatable prime because all the numbers 2, 23, 233, and 2339 are primes. Similarly, 26947 is a (left) truncatable prime because 7, 47, 947, and 6947 are primes.

There are 83, right-truncatable primes, the largest being 73939133, while the largest of the 4260 left-truncatable primes is the 24-digit prime 357686312646216567629137.

Clearly the concept of truncatability depends on the base in which the numbers are represented. For example, in base 100 (in which each single digit can be represented with two base 10 digits), there are exactly 9823399067 right-truncatable primes, the largest being 7 01 23 91 63 63 51 51 99 41 61 99 51 83 01 69 83 21 19 53 39 01 27 27 99 47 99 19 03 71 99 21 51 27 97 29 97 47 57 39 79 09 99 23 27 93 69 43 87 71 27 37 57 81 09 11 43.

The first left or right truncatable primes are 2, 3, 5, 7, 13, 17, 23, 29, 31, 37, 43, 47, 53, 59, 67, 71, 73, 79, 83, 97, 113, 137, 167, 173, 197, 223, 233, 239, 283 more terms

Truncatable primes can also be... (you may click on names or numbers and on + to get more values)

a-pointer 13 + 7692961613 8342738317 9363243613 9459642683 aban 13 + 953 967 983 997 alternating 23 + 323636947 363692347 789616547 929636947 amenable 13 + 996399137 998966653 999636997 999818353 apocalyptic 443 + 27883 29137 29173 29399 arithmetic 13 + 9979283 9979337 9981373 9986113 balanced p. 53 + 8756499397 8769326113 9127692647 9391564373 c.decagonal 31 c.heptagonal 43 + 547 953 2647 9283 c.pentagonal 31 c.square 13 + 49613 56113 86113 5661613 c.triangular 31 Carol 47 223 3967 Chen 13 + 99356197 99454547 99759467 99979337 congruent 13 + 9933613 9961613 9981373 9986113 constructible 17 Cunningham 17 + 37 197 3137 24337 Curzon 29 + 76543853 78672953 157573673 169956113 cyclic 13 + 9979283 9979337 9981373 9986113 d-powerful 43 + 7995443 8397547 9566173 9979337 de Polignac 337 + 96399643 96878167 98966653 99336373 deficient 13 + 9979283 9979337 9981373 9986113 dig.balanced 37 + 184873643 184966373 186342467 198739397 economical 13 + 19693967 19818353 19861613 19981373 emirp 13 + 181965647 184873643 186342467 198739397 equidigital 13 + 19693967 19818353 19861613 19981373 esthetic 23 43 67 evil 17 + 995391823 995729173 999267523 999636997 fibodiv 47 Fibonacci 13 233 Friedman 347 132647 276673 279967 912647 Gilda 29 683 997 good prime 17 + 8373823 8675743 13294397 99537547 happy 13 + 9516883 9848647 9933613 9973547 hex 37 397 547 5167 93626947 Hogben 13 31 43 73 5113 Honaker 3137 + 462796337 613564937 627543853 915613967 hungry 17 iban 17 + 3373 4373 12347 24373 iccanobiF 13 idoneal 13 37 inconsummate 173 + 763823 918353 969467 979337 Jacobsthal 43 683 junction 113 + 96399137 96692347 98672953 99187547 katadrome 31 + 7643 9643 9743 87643 Kynea 23 79 Leyland 17 593 lonely 23 53 3967 Lucas 29 47 lucky 13 + 9834283 9875683 9891997 9981373 m-pointer 23 12113 magnanimous 23 + 467 647 683 4643 metadrome 13 + 2347 2467 3467 12347 modest 13 + 23333 293999 2939999 29399999 nialpdrome 31 + 966653 995443 998443 9866653 oban 13 + 953 967 983 997 odious 13 + 996399137 998966653 999818353 999962683 Ormiston 36997 + 956934673 973564937 993946997 1543279337 palindromic 313 + 76367 79397 7693967 799636997 palprime 313 + 76367 79397 7693967 799636997 pancake 29 + 379 947 2347 8647 panconsummate 23 + 239 337 353 523 pernicious 13 + 9956113 9961613 9981373 9986113 Perrin 17 29 367 853 Pierpont 13 17 37 73 97 plaindrome 13 + 23339 23399 33347 233347 prime 13 + 995616543853 996676399643 997564326947 999631686353 primeval 13 37 113 137 1367 Proth 13 + 36353 46337 59393 986113 repfigit 47 197 repunit 13 31 43 73 5113 self 31 + 959192347 963932647 968666173 995729173 sliding 29 star 13 + 6337 69337 243613 924337 strong prime 17 + 99633797 99759467 99818353 99951283 super-d 31 + 9875683 9878467 9891997 9973547 tetranacci 29 773 tribonacci 13 twin 13 + 939336373 973233617 993946997 998966653 uban 13 + 73 79 83 97 Ulam 13 + 9891823 9891997 9961613 9966883 undulating 313 353 373 383 797 upside-down 37 + 7193 7283 7643 7823 weak prime 13 + 99336373 99961613 99962683 99979337 Woodall 17 23 383 4373