UPSC CSAT 2022 Q10: Digits 1–9 in Rows of Ratio 1:2:3 — Solved

The digits 1 to 9 are arranged in three rows in such a way that each row contains three digits, and the number formed in the second row is twice the number formed in the first row; and the number formed in the third row is thrice the number formed in the first row. Repetition of digits is not allowed. If only three of the four digits 2, 3, 7 and 9 are allowed to use in the first row, how many such combinations are possible to be arranged in the three rows?

  1. 4
  2. 3
  3. 2
  4. 1

Answer: (c) 2

Solution

  1. Let the first row be the three-digit number N. The second row is 2N and the third row is 3N. Together the three rows use each digit 1 to 9 exactly once.
  2. All three digits of N must come from {2, 3, 7, 9}, with no repeats.
  3. Size limit: 3N must still have three digits, so 3N ≤ 987 and N ≤ 329. N must therefore start with 2 or 3.
  4. Divisibility filter. Any number leaves the same remainder on division by 9 as its digit sum. The nine digits add up to 1 + 2 + … + 9 = 45, which is divisible by 9. So N + 2N + 3N = 6N must be divisible by 9. Since 6N = 9k means 2N = 3k, N must be divisible by 3. That means the digit sum of N must be divisible by 3.
  5. Check each set of three digits from {2, 3, 7, 9}: - {2, 3, 7}: sum 12, divisible by 3. Keep. - {2, 3, 9}: sum 14. Reject. - {2, 7, 9}: sum 18, divisible by 3. Keep. - {3, 7, 9}: sum 19. Reject.

  6. Candidates that start with 2 or 3 and are at most 329: - From {2, 3, 7}: 237, 273, 327. (372 is above 329.) - From {2, 7, 9}: 279, 297. (No number from this set starts with 3.)

  7. Test each candidate: - 237 × 2 = 474. The 4 repeats. Reject. - 273 × 2 = 546; 273 × 3 = 819. Digits used: 2, 7, 3, 5, 4, 6, 8, 1, 9. All nine are different. Valid. - 327 × 2 = 654; 327 × 3 = 981. Digits used: 3, 2, 7, 6, 5, 4, 9, 8, 1. All nine are different. Valid. - 279 × 2 = 558. The 5 repeats. Reject. - 297 × 2 = 594. The 9 repeats with the first row. Reject.

  8. Cross-check without the rule. The full list of 1:2:3 arrangements of the digits 1–9 is 192/384/576, 219/438/657, 273/546/819 and 327/654/981. The first rows 192 and 219 contain the digit 1, which is not allowed here. Only 273 and 327 remain.

  9. Two arrangements are possible: - 273 / 546 / 819 - 327 / 654 / 981

Answer: 2

Option-wise explanation

  • a: incorrect — 4 is the number of 1:2:3 arrangements of the digits 1–9 when there is no restriction (192, 219, 273, 327). This is the trap: it skips the rule that the first row may use only digits from 2, 3, 7, 9. 192 and 219 both contain 1.
  • b: incorrect — 3 needs one more valid first row. 329 is the most likely false extra: it fits the size limit, but 329 × 3 = 987 repeats the 9, and its digit sum 14 already fails the divisibility test. Counting 192 or 219 also gives 3 wrongly, because both contain the digit 1.
  • c: correct — Only 273 (546, 819) and 327 (654, 981) use three digits from {2, 3, 7, 9} in the first row and fill all nine digits without repeating any.
  • d: incorrect — 1 is what you get if you stop after finding 273/546/819 and do not test 327. 327 × 2 = 654 and 327 × 3 = 981 also use every digit exactly once.

How to eliminate

Use the digit-sum (mod 9) shortcut. The digits 1–9 add up to 45, so N + 2N + 3N = 6N must be divisible by 9. That forces N to be divisible by 3. From {2, 3, 7, 9}, only {2, 3, 7} (sum 12) and {2, 7, 9} (sum 18) pass. Next, N ≤ 329 so that 3N stays three digits. That leaves only 237, 273, 327, 279 and 297. Doubling each one rules out 237 (474), 279 (558) and 297 (594) straight away. 273 and 327 both survive the full check, so the count is 2. If you remember the classic set 192, 219, 273, 327, it is faster still: drop the two numbers that contain 1. Time: about 60–90 seconds with the divisibility filter, and under 30 seconds if you know the classic set. Attempt it in the first pass. It is short, careful arithmetic with no trick in the wording.

Know more

Digit-arrangement puzzles: filter, then test

When rows have to use the digits 1–9 once each, use the fact that a number and its digit sum leave the same remainder on division by 9.

  • The digits 1–9 add up to 45, which is divisible by 9.
  • If the rows are N, 2N, 3N, then 6N must be divisible by 9, so N must be divisible by 3.
  • A size limit cuts the range further: 3N ≤ 987 gives N ≤ 329.
Rows Sum of rows Condition on N
N, 2N, 3N 6N N divisible by 3
N, 2N 3N (digits 1–6, sum 21) N divisible by 7 when read mod 9 (3N ≡ 21)
N, 4N (two-digit rows) 5N 5N ≡ digit total (mod 9)

Worked variant. The first row uses only digits from {1, 2, 9}, and the rows are in the ratio 1:2:3. How many arrangements are there?

  • {1, 2, 9} has digit sum 12, which is divisible by 3. It passes.
  • N ≤ 329 leaves 129, 192, 219, 291.
  • 129 × 2 = 258 and 129 × 3 = 387. The 2 repeats. Reject.
  • 192 / 384 / 576 is valid. 219 / 438 / 657 is valid.
  • 291 × 2 = 582. The 2 repeats. Reject.
  • Answer: 2.

Method: (1) set the size limit, (2) apply the digit-sum test mod 9, (3) list the few candidates, (4) multiply and check for repeated digits. Always apply the extra restriction in the question before you count.