UPSC PYQPrelims 2021

Civil Services Examination · Question 19

Integers are listed from 700 to 1000. In how many integers is the sum of the digits 10?

  1. 6

  2. 7

  3. 8

  4. 9

Show answer & explanationShow explanation

Answer: (D) 9

Explanation

Given / Concept: For a 3-digit integer abc between 700 and 999, we need a + b + c = 10 where a ∈ {7, 8, 9} (for 1000, digit sum is 1 ≠ 10). Case a = 7: b + c = 3 ⇒ (b, c) ∈ {(0,3), (1,2), (2,1), (3,0)} ⇒ 4 integers (703, 712, 721, 730). Cases a = 8 and a = 9: For a = 8, b + c = 2 ⇒ 3 integers (802, 811, 820). For a = 9, b + c = 1 ⇒ 2 integers (901, 910). Result: Total integers = 4 + 3 + 2 = 9. Shortcut: Number of non-negative integer solutions to b + c = k is (k + 1) ⇒ for k = 3, 2, 1 we get 4 + 3 + 2 = 9. Correct Answer: (d) 9

Diagram explaining the answer