COMEDK
Permutations And Combinations PYQCOMEDK 2025 Morning Shift
MCQ+1 / -02025
A shopkeeper sells three varieties of fruit juice. He has a large number of bottles of same size of each variety. The number of different ways of displaying all the three varieties on the shelf with 5 places in a row and each display must have at least one bottle of each variety is
Solution
Correct option: A
150
Count all displays
Each of the 5 places can contain any one of the 3 juice varieties, so the total number of displays is
Remove displays missing a variety
If one variety is absent, choose that missing variety in
Add back over-subtracted displays
Displays using only one variety were subtracted more than once. Choose the single variety used:
Apply inclusion-exclusion
The number of displays containing all three varieties is
Therefore, the answer is
