UPSC CSAT 2023 Q76: Cryptarithm with Product and Sum — Solved
AB and CD are 2-digit numbers. Multiplying AB with CD results in a 3-digit number DEF. Adding DEF to another 3-digit number GHI results in 975. Further A, B, C, D, E, F, G, H, I are distinct digits. If E = 0, F = 8, then what is A + B + C equal to?
- 6
- 7
- 8
- 9
Answer: (a) 6
Solution
-
Write down what is given. AB × CD = DEF, and DEF + GHI = 975. All nine letters are different digits. E = 0 and F = 8, so DEF = D08.
-
Solve the addition column by column, starting from the units: D08 + GHI = 975. - Units: 8 + I must end in 5. 8 + 7 = 15, so I = 7, carry 1. - Tens: 0 + H + 1 must end in 7. So H = 6, no carry. - Hundreds: D + G = 9. So GHI = G67 and D + G = 9.
-
List the digits already used: E = 0, F = 8, H = 6, I = 7.
-
Find the pairs (D, G) with D + G = 9 that avoid the used digits: - 0 + 9: D cannot be 0 (DEF is a 3-digit number), and G cannot be 0 because E = 0. - 1 + 8: 8 is used. - 2 + 7: 7 is used. - 3 + 6: 6 is used. - 4 + 5: allowed. So D is 4 or 5.
-
Case D = 5. Then DEF = 508 and CD ends in 5. A number ending in 5 is a multiple of 5. 508 is not a multiple of 5, so no CD ending in 5 divides it. This case fails.
-
Case D = 4. Then DEF = 408 and CD ends in 4. Factorise: 408 = 2³ × 3 × 17. Check each 2-digit number ending in 4: - 14: 408 ÷ 14 = 29.14…, not a whole number. - 24: 408 ÷ 24 = 17, so AB = 17. Then B = 7, but I = 7. Repeated digit, rejected. - 34: 408 ÷ 34 = 12, so AB = 12. Possible. - 44: C = D = 4, repeated digit, rejected. - 54, 64, 74, 84, 94: none divides 408 (408 ÷ 54, 64, 74, 84, 94 are not whole numbers; also 408 ÷ 54 < 10).
-
So AB = 12 and CD = 34. G = 9 − 4 = 5, so GHI = 567.
-
Check that all nine digits are different: A = 1, B = 2, C = 3, D = 4, E = 0, F = 8, G = 5, H = 6, I = 7. All different. Check the working: 12 × 34 = 408 and 408 + 567 = 975. Both hold.
-
A + B + C = 1 + 2 + 3 = 6.
Answer: 6.
Option-wise explanation
- a: correct — The only arrangement that works is 12 × 34 = 408 and 408 + 567 = 975, with all nine digits different. So A + B + C = 1 + 2 + 3 = 6.
- b: incorrect — A sum of 7 would need a different AB or C. The only other factor pair of 408 with CD ending in 4 is 17 × 24, and it fails because B = 7 repeats I = 7. If you skip the distinct-digit check you get 1 + 7 + 2 = 10, not 7, so no valid case gives 7.
- c: incorrect — No valid case gives 8. D = 5 has no solution and D = 4 gives only AB = 12, CD = 34. A sum of 8 comes from guessing, not from any valid factor pair.
- d: incorrect — 9 is the value of D + G from the hundreds column. It is a different quantity. Writing that 9 down as the answer is the trap.
How to eliminate
Do the addition first, because it settles three digits at once. Units: 8 + I ends in 5, so I = 7. Tens: H + 1 = 7, so H = 6. Hundreds: D + G = 9. With 0, 6, 7, 8 used, the only pair left is 4 and 5. D = 5 is out at once: 508 is not a multiple of 5, but CD would end in 5. So DEF = 408. Try divisors of 408 that end in 4: 24 gives 17, which repeats 7; 34 gives 12, which works. Read off 1 + 2 + 3 = 6. You do not need to check the options one by one. The parity and multiple-of-5 checks kill the other cases. About 90–120 seconds once you start the addition from the units column. Attempt it in your first pass if you are comfortable with cryptarithms. Otherwise do it in the second pass. It is fully determined and has no guesswork.
Know more
Cryptarithms: solve the easy equation first, then factorise.
When a puzzle has both a sum and a product, start with the sum. Column addition fixes digits one at a time, from the units column with carries. Then the product only needs a short divisor search.
Method:
- Do the addition from right to left and track carries.
- List the digits already used. Use "distinct digits" to cut the cases.
- For each remaining case, factorise the product and test only divisors with the required last digit.
- Check every digit is different, and recheck both equations.
Worked variant. AB × CD = DEF, DEF + GHI = 941, all digits different, E = 8, F = 4.
| Column | Equation | Result |
|---|---|---|
| Units | 4 + I = 11 | I = 7, carry 1 |
| Tens | 8 + H + 1 = 14 | H = 5, carry 1 |
| Hundreds | D + G + 1 = 9 | D + G = 8 |
Used digits: 4, 5, 7, 8. Allowed pairs: D = 2 or 6.
- D = 2: 284 = 2² × 71 has no 2-digit divisor ending in 2.
- D = 6: 684 = 2² × 3² × 19. 684 ÷ 36 = 19, so AB = 19 and CD = 36.
Check: 19 × 36 = 684 and 684 + 257 = 941. A + B + C = 1 + 9 + 3 = 13.
Useful quick filters: a multiplier ending in 5 needs a product that is a multiple of 5. An even multiplier needs an even product.