Non-negative integers means the whole numbers starting from If we consider all the one-digit, two-digit and three-digit numbers at once (i.e. we allow 0 at the extreme left): The total number of numbers from 1 to 1000 : possibility for thousands place) AND (10 possibilities for hundreds place) AND (10 possibilities for tens place) AND (10 possibilities for units place)
The total number of numbers WITHOUT the digit 1 from 0 to 999 : possibilities for hundreds place) possibilities for tens place) possibilities for units place)