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