To find the number of 3-digit numbers that contain the digit 3 at least once, we can use the concept of complementary counting. There are a total of 900 three-digit numbers (ranging from 100 to 999). To find the numbers that do not contain the digit 3, we calculate the numbers with digits 0, 1, 2, 4, 5, 6, 7, 8, and 9 in each place. There are 8 choices for each place, so the total number of three-digit numbers without the digit 3 is 8 x 9 x 9 = 648. Therefore, the number of three-digit numbers that contain the digit 3 at least once is 900 - 648 = 252.
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
4,748,472 Confirmed using the following C# function string sTemp; int total = 0; for (int i = 1000000; i < 10000000; i++) { sTemp = i.ToString(); if (sTemp.Contains("7")) { total++; } } label1.Text = total.ToString();
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.
-2
1
It would help to know which digit. 0 appears in 9 numbers and each of the others in 18 numbers.
-5