UPSC CSE 2022 CSAT · Question 55

UPSC CSE 2022 CSAT question on Permutations Combinations PIN Numeric

CSAT is a qualifying paper.

There is a numeric lock which has a 3-digit PIN. The PIN contains digits 1 to 7. There is no repetition of digits. The digits in the PIN from left to right are in decreasing order. Any two digits in the PIN differ by at least 2. How many maximum attempts does one need to find out the PIN with certainty?

  1. 6
  2. 8
  3. 10
  4. 12
Show answer

Answer: C. 10

Solution

  1. Because the digits are in decreasing order, each set of 3 digits gives exactly one PIN. So count sets of 3 digits from 1 to 7 with neighbours differing by at least 2.
  2. List them by the largest digit:
    • 5: 531
    • 6: 631, 641, 642
    • 7: 731, 741, 742, 751, 752, 753
  3. Total = 1 + 3 + 6 = 10 possible PINs, so 10 attempts guarantee success.

Why the other options are wrong

  • (a) 6: counts only the PINs starting with 7.
  • (b) 8: misses two valid PINs, such as 531 and 642.
  • (d) 12: includes PINs with neighbouring digits only 1 apart.

Quick trick

  • Choosing k digits from n with gaps of at least 2: C(n − k + 1, k) = C(5, 3) = 10.

Remember

When order is forced (increasing or decreasing), count selections, not arrangements.

Hence the answer is (c).

Share
Ask Atlas (3) for similar questions
  1. 2021 · Q59 Permutations Combinations Arranged Row — Same idea: choosing non-adjacent items from a row, so no two consecutive positions are selected.
  2. 2017 · Q57 Permutations Combinations Arranged Row — Same pattern: arranging items in a row so that certain ones are never next to each other.
  3. 2023 · Q78 Permutations Combinations Selections Consecutive — Similar selection-counting with positional restrictions on items arranged in a cycle.

← Full UPSC CSE 2022 CSAT paper · All Basic numeracy questions