We call a number memorable if every digit in the number is either a 1 or adjacent to a 1 For example, the numbers 111,81,101 and 1771 are all memorable, but the numbers 12321,786,140, and 1999 are not memorable.
How many positive 3-digit numbers are memorable?
What it means is that the number has to be touching a 1 in the digits.