Skip to content
dronacharya.ai
UPSC Prelims 2022AptitudeSingle correct+2.5 / -0.83

UPSC Prelims 2022 CSAT Q55: Permutations, combinations and probability

From the UPSC Prelims 2022 · CSAT (GS Paper II) paper. Try it, check your answer, then read the worked solution below.

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?

Choose one option

Answer and worked solution

Try it yourself first, then check your working against this.

Official answerC

Worked solution

The digits are written in decreasing order, so a PIN is just a choice of 3 digits from 1-7 with any two differing by at least 2.

Choosing 3 non-adjacent numbers from 7: (7−3+13)=(53)=10\binom{7-3+1}{3}=\binom53=10 (listing confirms: 135, 136, 137, 146, 147, 157, 246, 247, 257, 357 as sets). At most 10 attempts are needed.

(C)

Concepts used: non-adjacent selections

Practise this topic

Every past question tagged to the same part of the syllabus, with solutions.

Similar questions from other papers

Past questions on the same topic (Permutations, combinations and probability), each with a worked solution.