A man has 7 friends. In how many ways he can invite one or more of them for a tea party.
127
He can invite his one friend or two friends or three friends ....... Or all of the seven friends
Selecting one friend out of 7 friends =7C1
Selecting 2 friends out of 7 friends = 7C2
.
.
.
.
Selecting all 7 friends = 7C7
Sum of all these cases = 7C1 + 7C2 + .......... + 7C7 ................................(1)
Add and subtract 7C0
7C0 + 7C1 + 7C2 + .......... + 7C7 - 7C0
Total number of ways = 7C0 + 7C1 + 7C2 + .......... + 7C7 = 27
case that no friend be invited = 7C0 which we need to excluded
Required number of ways =27 - 1 = 127.