How many of the integers from 1 to 100, inclusive, have at least
one digit equal to 6?
Problem 165
Pick one
Official solution
The integers between 1 and 100 that have a ones digit equal to 6
are of which there are 10.
The additional integers between 1 and 100 that have a tens digits equal
to 6 are of which there are 9. (Note that 66 was included in the
first list and not in the second list since we are counting integers
rather than total number of 6s).
Since the digit 6 must occur as either the ones digit or the tens digit,
there are integers
between 1 and 100 with at least 1 digit equal to 6.