ways to have W − M of these originate from the set of P − T not mentioned to the lottery ticket. That is definitely, the probability of obtaining M matches is given by the subsequent method when you'll find P balls within the pool, Every single lottery ticket selects T balls, and W is the amount of winning balls drawn for that lottery.