John has eight friends, in how many ways can he invite one or more of them to dinner?
A
256
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
255
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
264
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
272
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is B255 First of all calculate the total number of ways in which the friends can come i.e without imposing any condition on the number of friends that can come.
Each friend has 2 ways i.e the friend will come or the friend will not come and also that whether the friend will come or not, does not depend on anybody else. So, coming of each friend is an independent event.
Now, 1 friend leads to 2 ways
Then, 8 friends leads to 2×2×2×2×2×2×2×2=28 ways .
Now the condition is one or more friend has to be invited. So, if we subtract the case where 0 friends were invited from total number of ways we will get the desired answer .