Question
Question: 7 people leave their bags outside temple and returning after worshiping the deity picked one bag eac...
7 people leave their bags outside temple and returning after worshiping the deity picked one bag each at random. In how many ways at least one and at most three of them get their correct bags?
A
7C3 .9 + 7C5 .44 + 7C1 .265
B
7C6 .265 + 7C5 .9 + 7C7 .44
C
7C5 .9 + 7C2 .44 + 7C1 .265
D
None of these
Answer
7C3 .9 + 7C5 .44 + 7C1 .265
Explanation
Solution
No. of ways getting one correct
= 7C1 6! (1−1!1+2!1−3!1+...+6!1)
= 7C1.265
No. of ways getting two correct
= 7C2. 5! (1−1!1+2!1−3!1+...−5!1)
= 7C2 . 44
No. of ways getting three correct
= 7C3.4! (1−1!1+2!1−3!1+4!1)
= 7C3.9
Required no. of ways
= 7C3 . 9 + 7C2 . 44 + 7C1. 265