In a lottery 8 numbers are chosen from 1 to 99 as winning numbers. if all numbers match, John wins the first prize, if 7 numbers match John gets second prize and of 6 numbers match, John gets the third prize. In how many ways John can chose numbers so that he get some prize?
Solution: The number of ways of getting the first prize = 1
The number of ways of getting the second prize.
$(\frac{8}{7}) (\frac{91}{1}) = 728$
the number of ways of getting the third prize.
$(\frac{8}{6}) (\frac{91}{2})$ = $28 \times 4095$ = 114660
So by (AP), the total no of ways winning the prize =114660 + 728 + 1 = 115389.