Take the prime number 3797. It has an interesting property. Remove continuously digits from the left, one by one, and it remains prime at each stage: 3797, 797, 97, and 7.

Similarly, we can work from right to left: 3797, 379, 37, and 3.

List the only eleven primes that are truncatable both from left to right and from right to left.

Rem: Each of 2, 3, 5, and 7 is considered a truncatable prime.

(In reply to

computer solution by Charlie)

You say: ..." i*f we consider each of 2, 3, 5 and 7 to be considered a truncatable prime, then these are four more, making 15. Each is a prime, but actually if you truncate any one of these, nothing is left."*

I also believe so, but the formal definition contradicts ours.