This can be calculated using combinations, which is denoted as C(n, k) or "n choose k". In this case, n = 12 (total number of friends) and k = 7 (number of friends to be invited).
Total number of ways to invite 7 friends = C(12, 7) = $\binom{12}{7}$
Now, we need
Show more…