chillfactor
- 12
- 0
[b
none
Homework Equations
none
The Attempt at a Solution
Homework Statement
Homework Equations
The Attempt at a Solution
Last edited:
You counted two numbers twice: 77 and 177.morrowcosom said:Well you know that for the hundreds it does not appear once, since the problem does not go up to 700. As for the tens you get all the all the 70's (70 through 79) and all the 170's (170 through 179). As for the ones you get one every 10 digits (7, 17, 27...187, 197).
I do not get why the answer is 38 instead of 40. Like you said, there are 1 7 every 10 numbers, which gives you 20 7's, But if you add 70...79 and 170...179 together, you get 20 more 7's, which gives you a grand total of 40 7's.