The only number with a 6 between 1 and 9 is 6.
Between 10 and 99, every number that ends in a 6 or is in the sixties will have a 6 in it. The former category has 9 numbers in it, the latter 10, but they overlap at 66 so there are 18 numbers total in the range.
Fromm 100 to 999, the number must have a 6 in either the ones, tens, or hundreds digit. 90 numbers have a 6 in the ones place, 90 again in the tens place, and 100 in the hundreds place. NOT including the number 666, there are 8 overlaps that have 6 in both the ones and tens place, 9 with 6 in the ones and hundreds place, and 9 with 6 in the tens and hundreds place. Finally, the number 666 was counted an extra two time. Subtracting all the double/triple appearances, there are 252 numbers with a 6 in this range.
Finally, add up all these ranges to get that there are 271 numbers numbers with the digit 6 in this range.
Chat with our AI personalities
There are 2700 digits.
If by "between" you mean "between but not including", then the answer is 9999 - 999 - 1 = 8999.If on the other hand, you mean to include both 9999 and 999, then the answer is 9999 - 999 + 1 = 9001.
0
Two of them which are 1 and 2
1, 3, 9, 27, 37, 111, 333, 999