172
==============================
Another contributor was amazed:
Wow ! That's a neat little problem.
Let's see . . . . .
-- There are three ways to have a single 3 in the number: 3xx, x3x, and xx3.
For 3xx, there can be 81 different numbers. (2nd and 3rd digits can't be a 3. 9x9=81.)
For x3x, there can be 72 numbers. (1st can't be 0 or 3. 3rd can't be a 3. 8x9=72.)
For xx3, there are also 72. (1st can't be 0 or 3. 2nd can't be a 3. 8x9=72.)
So far, we have 81+72+72 = 225 possibilities, with a single 3 in each one.
-- There are three ways to have two 3s in the number: 33x, 3x3, and x33.
For 33x, there can be 9 different numbers. (3rd digit can't be a 3.)
For 3x3, there can be 9 numbers. (2nd digit can't be a 3.)
For x33, there are 8 numbers. (1st digit can't be a 0 or a 3.)
So we have 9+9+8 = 26 more possibilities.
-- There is only one way to have three 3s in the number: 333.
That's one more possibility.
So the total number of 3-digit numbers where at least one of the digits is a 3 is
225 + 26 + 1 = 252 all together.
252
252
46000
i think alot like 100 at least
17
252
252
27: 077,177,277,377,477,577,677,877,977,717,727,737,747,757,767,777,787,797
46000
To find the total number of seven-digit numbers that contain the number seven at least once, we can use the principle of complementary counting. There are a total of 9,999,999 seven-digit numbers in total. To find the number of seven-digit numbers that do not contain the number seven, we can count the number of choices for each digit (excluding seven), which is 9 choices for each digit. Therefore, there are 9^7 seven-digit numbers that do not contain the number seven. Subtracting this from the total number of seven-digit numbers gives us the number of seven-digit numbers that contain the number seven at least once.
i think alot like 100 at least
17
There are 9000 4-digit numbers. 8*9*9*9 = 5832 of them do not contain a 5 The remaining 3168 contain a 5.
1
-2
-5
-5