Mathematics (JEE)Very hard

How many integers from 1 to 1000 (both included) have a digit sum that is divisible by 5?

  1. A. 200
  2. B. 199
  3. C. 209
  4. D. 189

Correct answer: B. 199

Enumerating the digit sums of 1 to 1000 gives 199. The value 200 is the naive one-fifth of 1000, which is only approximately right.

More Permutations, Combinations and Probability questions

Exams that ask this topic