Mathematics (JEE)Very hard
How many integers from 1 to 1000 (both included) have a digit sum that is divisible by 5?
- A. 200
- B. 199
- C. 209
- 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.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many six-digit palindromes (numbers that read the same backwards, with no leading zero) are divisible by 11?
- A four-letter word is formed from the letters a, b, c, with repetition allowed. How many such words use exactly two different letters?
- How many triples of non-negative integers (x, y, z) satisfy x + y + z ≤ 10?
- Four men and four women are seated around a round table, with the rule that men and women alternate. Two seatings are the same if one is a…
- Three distinct vertices of a unit cube are chosen. How many of these triples form a right-angled triangle?
- How many three-digit numbers have exactly two of their digits equal (for example 133 or 404, but not 111 or 123)?