UPSC CSAT 2023 Q59: Digit Sum Equals Product Data Sufficiency — Solved
Consider a 3-digit number.
Question: What is the number?
Statement-1: The sum of the digits of the number is equal to the product of the digits.
Statement-2: The number is divisible by the sum of the digits of the number.
Which one of the following is correct in respect of the above Question and the Statements?
- The Question can be answered by using one of the Statements alone, but cannot be answered using the other Statement alone.
- The Question can be answered by using either Statement alone.
- The Question can be answered by using both the Statements together, but cannot be answered using either Statement alone.
- The Question cannot be answered even by using both the Statements together.
Answer: (d) The Question cannot be answered even by using both the Statements together.
Solution
-
Let the number have digits a, b, c, with a ≥ 1 because it is a 3-digit number. The question wants one exact number, so a statement is sufficient only if it leaves exactly one value.
-
Statement 1 alone: a + b + c = a × b × c. - If any digit is 0, the product is 0. The sum would then also have to be 0. That is impossible because a ≥ 1. So all three digits are between 1 and 9. - Sort the digits so that x ≤ y ≤ z. - Case x ≥ 2: the product is x × y × z ≥ 2 × 2 × z = 4z. The sum is x + y + z ≤ 3z. Since 4z > 3z, the product is always larger than the sum. There is no solution. - Case x = 1: the equation becomes 1 + y + z = y × z. Rearrange: yz − y − z + 1 = 2, so (y − 1)(z − 1) = 2. - Because y ≤ z, the only factor pair is 1 × 2. So y − 1 = 1 and z − 1 = 2, which gives y = 2 and z = 3. - Check y = 1: (0)(z − 1) = 2 is impossible. - The only digit set is {1, 2, 3}. Check: 1 + 2 + 3 = 6 and 1 × 2 × 3 = 6. - These digits can be arranged into 3! = 6 numbers: 123, 132, 213, 231, 312, 321. - Six candidates remain, so Statement 1 alone is not sufficient.
-
Statement 2 alone: the number is divisible by its digit sum. - Many numbers fit. For example, 100 (sum 1), 102 (sum 3, and 102 ÷ 3 = 34) and 111 (sum 3, and 111 ÷ 3 = 37). - More than one number fits, so Statement 2 alone is not sufficient.
-
Both statements together. - From Statement 1, the number is one of 123, 132, 213, 231, 312, 321. Each has digit sum 6. - From Statement 2, the number must be divisible by 6. That means divisible by 2 and by 3. - Divisible by 3: every candidate has digit sum 6, so all six pass. - Divisible by 2: the number must end in an even digit. Only 2 is even here. That leaves 132 and 312. - Check: 132 ÷ 6 = 22 and 312 ÷ 6 = 52. Both work. - Two numbers remain, so even both statements together do not fix the number.
-
Answer: The question cannot be answered even by using both statements together.
Option-wise explanation
- a: incorrect — For this option, one statement alone would have to give a single number. Statement 1 leaves six permutations of 1, 2, 3, and Statement 2 fits hundreds of numbers. The trap is solving sum = product, finding the digits 1, 2, 3 and stopping there, forgetting that those digits can be arranged in six ways.
- b: incorrect — This needs each statement to give a unique number by itself. Neither does: Statement 1 gives 6 numbers, and Statement 2 is satisfied by numbers such as 100, 102 and 111.
- c: incorrect — This is the main trap. Combining the statements cuts six candidates down to the even ones divisible by 6. That narrows the list, but it still leaves two numbers, 132 and 312. 'Narrowed down' is not the same as 'determined'.
- d: correct — Statement 1 forces the digits to be 1, 2, 3. Statement 2 then requires divisibility by 6, which keeps only numbers ending in 2: 132 and 312. Two values remain, so the number cannot be found.
How to eliminate
Start with Statement 1, because it is the restrictive one. Test the familiar digit set 1, 2, 3 (sum 6, product 6). Any digit set without a 1 has a product much larger than its sum, so 1, 2, 3 is the only set. Once you see that the digits can be permuted, both 'alone' options are gone: six arrangements is not one answer. Statement 2 is obviously loose too, since 100 already fits. Now decide between the last two choices. Divisible by 6 means the number must be even, and 2 is the only even digit available. You can put 2 in the units place and arrange 1 and 3 in two ways, giving 132 and 312. Two survivors means the number is still undetermined. In data sufficiency, once you can name two valid numbers, you are done. About 60–90 seconds once you know the 1-2-3 result. Attempt it in the first pass: there is no heavy calculation.
Know more
Data sufficiency: 'unique value' questions
When a question asks 'What is the number?', a statement is sufficient only if it leaves exactly one value. To prove a statement is insufficient, find two valid values. You do not need to list every case.
| Statement 1 alone | Statement 2 alone | Together | Answer type |
|---|---|---|---|
| Unique | Not unique | — | One alone works |
| Unique | Unique | — | Either alone works |
| Not unique | Not unique | Unique | Both needed |
| Not unique | Not unique | Not unique | Cannot be answered |
Digit sum = digit product
- If any digit is 0, the product is 0, so that case fails whenever the leading digit is nonzero.
- Without a 1 among the digits, the product grows much faster than the sum. So look for 1s first.
- With exactly one 1, rearrange 1 + y + z = yz into (y − 1)(z − 1) = 2. Factoring like this turns the search into a short list of factor pairs.
Worked variant. A 2-digit number has digit sum equal to digit product. What is it? We need a + b = ab, which rearranges to (a − 1)(b − 1) = 1. So a = b = 2, and the number is 22. Here one statement alone is enough, because the digits are equal and swapping them gives the same number. In the 3-digit question, the digits 1, 2, 3 are all different, so they give six numbers.
Lesson: after you find the digits, count the arrangements before you call the number determined.