How many times will the digit 5 come in counting from 1 to 99

Numbers

How many times will the digit 5 come in counting from 1 to 99 excluding those which are divisible by 3?

  1. 16
  2. 15
  3. 14
  4. 13

Answer

For the range 0 to 9, digit 5 occurs only 1 time. Now, the range 0 to 9 repeats ten times. However, when 5 is in the tens place, you have to add an additional 10 to the number of 5s. This gives a total of (1)(10) + 10 = 20.

Numbers which are divisible by 3 are 15, 45, 51, 54, 57 and 75. Total six numbers.

Number of times = 20 - 6 = 14.

The correct option is C.