How many positive integers less than 101 contain two different digits?
Do not include leading zeros when counting the digits
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
By Complementary Counting ,
There are 100 numbers in the range 1-100.
The numbers that don't meet the given criteria of using at least two different digits are:
1, 2, 3, 4, 5, 6, 7, 8, 9 and 11, 22, 33, 44, 55, 66, 77, 88, 99
1 0 0 − 1 8 = 8 2