Practice30Create account

A four-character passcode is made by choosing each character from the digits 1 to 6, repeats being allowed. How many such passcodes use at least one digit more than once?

Competition practiceProbability & Permutation
  • A936
  • B360
  • C1296
  • D720

Step-by-Step Solution

Count everything, then take away the well-behaved case. All passcodes: each of the 4 places has 6 choices, so . Passcodes with every digit different: . Hence at least one repeat = 1296 − 360 = 936. Trap 360 reports the complement instead of the answer — the classic 'forgot to subtract from the total' slip. Trap 1296 ignores the condition. Trap counts only the tidiest kind of repeat, one digit used exactly twice with two further distinct digits filling the other places, and so misses codes such as 3335 and 2255.
Answer: A) 936

Master this topic in 30 minutes a day.

Don't just memorise the answer — build a daily practice habit.

Practice 5 Similar Questions Free →

All Probability & Permutation practice questions

More Probability & Permutation practice

In a language club, 5 members speak only Hindi, 4 speak only Tamil and 3 speak both…Six delegates sit down at a round table with six equally spaced seats. Two of them, Ravi…A ship carries 5 flags of different colours. A signal is made by hoisting one or more of…All 120 arrangements of the letters of the word MEDIA are written out in dictionary…The nine letters of the word INSTITUTE are rearranged. In how many of the resulting…