SOLUTION: In the first 99 natural numbers, digit 4 comes how many times? I got 4,14,24,34,40,41,42,43,44,45,46,47,48,49,54,64,74,84,94 (19 times) But the answer written in my book is 20

Algebra.Com
Question 465807: In the first 99 natural numbers, digit 4 comes how many times?
I got 4,14,24,34,40,41,42,43,44,45,46,47,48,49,54,64,74,84,94 (19 times)
But the answer written in my book is 20 times.
Which number am i missing?

Found 2 solutions by ankor@dixie-net.com, richard1234:
Answer by ankor@dixie-net.com(22740)   (Show Source): You can put this solution on YOUR website!
Maybe you forgot to count both 4's in 44
Answer by richard1234(7193)   (Show Source): You can put this solution on YOUR website!
44 has two fours. There are 19 numbers, but 20 4's.

An easier way to count them is to list the numbers by unit digit and by tens digit, and always use the ellipsis (...) if necessary. You can organize them into sets like {4, 14, ...,94} and {40, 41, ..., 49}. Without writing every term you can easily count the number of elements by doing certain transformations like

{4, 14, ..., 94} --> {0, 1, ..., 9} (removed 4's) --> {1, 2, ..., 10} (added 1), 10 elements.

RELATED QUESTIONS

I need help with this question please The Academy Awards for the Best Actress and Best (answered by ewatrrr)
What is the sum of the expression?... (answered by Positive_EV)
calculate the average age of migrants for both the categories of gender and write your... (answered by ikleyn)
A pharmacist working in Black lion Specialized Hospital wants to secure the availability... (answered by ikleyn)
what is the sequence of this (2, 3, 4, 5, 7, 8 ,9, 10, 11, 13, 14, 15, 16 ,17, 19, 21,... (answered by richard1234)
A pharmacist working in Black lion Specialized Hospital wants to secure the availability... (answered by ikleyn)
Weeks Unit dispensed 11 1 20 1 48 1 55 1 85 1 12 2 32 2 42 2 56 2 67 2 (answered by ikleyn)
1. Which of the following values is NOT equal to 34(58+9)? A. 34 x 67 B. 58(34+9) C.... (answered by Fombitz)
Im trying to find an equation/formula that will work with the following data set. I... (answered by Fombitz)