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 293 3373 + 8342738317 9363243613 9459642683 aban 13 17 23 + 967 983 997 alternating 23 29 43 + 363692347 789616547 929636947 amenable 13 17 29 + 998966653 999636997 999818353 apocalyptic 443 647 823 + 29137 29173 29399 arithmetic 13 17 23 + 9979337 9981373 9986113 balanced p. 53 173 373 + 8769326113 9127692647 9391564373 c.decagonal 31 c.heptagonal 43 71 197 + 953 2647 9283 c.pentagonal 31 c.square 13 113 313 + 56113 86113 5661613 c.triangular 31 canyon 313 317 523 + 812347 987523 9812347 Carol 47 223 3967 Chen 13 17 23 + 99454547 99759467 99979337 congruent 13 23 29 + 9961613 9981373 9986113 constructible 17 Cunningham 17 31 37 197 3137 24337 Curzon 29 53 113 + 78672953 157573673 169956113 cyclic 13 17 23 + 9979337 9981373 9986113 d-powerful 43 283 373 + 8397547 9566173 9979337 de Polignac 337 373 599 + 96878167 98966653 99336373 deficient 13 17 23 + 9979337 9981373 9986113 dig.balanced 37 197 613 + 184966373 186342467 198739397 economical 13 17 23 + 19818353 19861613 19981373 emirp 13 17 31 + 184873643 186342467 198739397 equidigital 13 17 23 + 19818353 19861613 19981373 esthetic 23 43 67 evil 17 23 29 + 995729173 999267523 999636997 fibodiv 47 Fibonacci 13 233 Friedman 347 132647 276673 279967 912647 Gilda 29 683 997 good prime 17 29 37 + 8675743 13294397 99537547 happy 13 23 31 + 9848647 9933613 9973547 hex 37 397 547 5167 93626947 Hogben 13 31 43 73 5113 Honaker 3137 4397 6353 + 613564937 627543853 915613967 hungry 17 iban 17 23 43 + 4373 12347 24373 iccanobiF 13 idoneal 13 37 inconsummate 173 383 443 + 918353 969467 979337 Jacobsthal 43 683 junction 113 311 313 + 96692347 98672953 99187547 katadrome 31 43 53 + 9643 9743 87643 Kynea 23 79 Leyland 17 593 lonely 23 53 3967 Lucas 29 47 lucky 13 31 37 + 9875683 9891997 9981373 m-pointer 23 12113 magnanimous 23 29 43 + 647 683 4643 metadrome 13 17 23 + 2467 3467 12347 modest 13 23 29 + 293999 2939999 29399999 mountain 173 197 283 + 345953 367853 2345953 nialpdrome 31 43 53 + 995443 998443 9866653 oban 13 17 23 + 967 983 997 odious 13 31 37 + 998966653 999818353 999962683 Ormiston 36997 37397 51613 + 973564937 993946997 1543279337 palindromic 313 353 373 + 79397 7693967 799636997 palprime 313 353 373 + 79397 7693967 799636997 pancake 29 37 67 + 947 2347 8647 panconsummate 23 31 37 + 337 353 523 pernicious 13 17 31 + 9961613 9981373 9986113 Perrin 17 29 367 853 Pierpont 13 17 37 73 97 plaindrome 13 17 23 + 23399 33347 233347 prime 13 17 23 + 996676399643 997564326947 999631686353 primeval 13 37 113 137 1367 Proth 13 17 97 + 46337 59393 986113 repfigit 47 197 repunit 13 31 43 73 5113 self 31 53 97 + 963932647 968666173 995729173 sliding 29 Sophie Germain 23 29 53 + 7816387853 9391564373 9439663853 star 13 37 73 + 69337 243613 924337 strong prime 17 29 37 + 99759467 99818353 99951283 super-d 31 337 719 + 9878467 9891997 9973547 tetranacci 29 773 tribonacci 13 twin 13 17 29 + 973233617 993946997 998966653 uban 13 17 23 + 79 83 97 Ulam 13 47 53 + 9891997 9961613 9966883 undulating 313 353 373 383 797 upside-down 37 73 3467 + 7283 7643 7823 weak prime 13 23 31 + 99961613 99962683 99979337 Woodall 17 23 383 4373