How many times does the digit 9 appear in the list of all integers from 1 to 500? (The number $ 99 $, for example, is counted twice, because $9$ appears two times in it.)

Respuesta :

Answer:

95 times digit 9 appears in all integers from 1 to 500.

Step-by-step explanation:

No. of 9 from

1-9: 1 time

10-19:  1 time

20-29: 1 time

30-39: 1 time

40-49: 1 time

50-59: 1 time

60-69: 1 time

70-79: 1 time

80-89 : 1 time

from 90 to 99

there will be one in 91 to 98

then two 9 in 99

thus, no of 9 from 90 to 99 is 10

Thus, total 9's from 1 to 99 is 9+10 = 19

Thus there 19 9's in 1 to 99

similarly

there will be

19 9's in 100 to 199

19 9's in 200 to 299

19 9's in 300 to 399

19 9's in 400 to 499

Thus, total 9's will be

19 + 19 + 19+ 19 + 19 + 19 = 95

Thus, 95 times digit 9 appears in all integers from 1 to 500.