Seven people leave their bags outside a temple and returning after worshiping picked one bag each at random.In how many ways atleast one and atmost three of them get their correct bags?
A
3094
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
3095
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
3096
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
3093
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is A3094 Number of ways in which one get his own bag 7C16!(1−11!+12!−13!+14!−15!+16!)=7C1×265 Number of ways in which two get his own bag 7C25!(1−11!+12!−13!+14!−15!)=7C2×44 Number of ways in which three get his own bag 7C34!(1−11!+12!−13!+14!)=7C3×9 ∴ Required number of ways = 7C3×9+7C2×44+7C1×265=3094