Strange Numbers

All strange numbers are prime. Every one digit prime number is strange and a number of two or more digits is strange if and only if so are the two numbers obtained from it by omitting either its first or its last digit. Find all strange numbers.
Exploring and noticing Working systematically Conjecturing and generalising Visualising and representing Reasoning, convincing and proving
Being curious Being resourceful Being resilient Being collaborative


We define "strange" numbers in the following way:

  • All strange numbers are prime.

     
  • Every single digit prime number is strange. 

     
  • A number with two or more digits is strange if, and only if, the two numbers obtained from it, by removing either its first or its last digit, are also strange.

Find all strange numbers.

This problem comes from the Hungarian magazine KoMaL. You can find many other challenging problems in English on the KoMaL website.