a. In the lottery game, it seems that repetition of numbers getting picked is *not* allowed. There are

ways of picking any 5 numbers between 1 and 37, so the probability of winning the jackpot is 1/435,897.
b. With repetition allowed, there are

possible ways to draw any 5 numbers between 0 and 9, so the probability of winning the jackpot is 1/100,000.
c. In order for the game to be no-profit, its expected value should be 0. This basically means that the amount of money players pay to play the game should be balanced exactly by the winning amount. If
represents the amount of money won by a player, then

with probabilities

The expected value is
![E[X]=\displaystyle\sum_xx\,P(X=x)=-(99,999)/(100,000)+(49,999)/(100,000)=-\frac12](https://img.qammunity.org/2020/formulas/mathematics/college/m6i98x96wy3rycgy6jk5gju49i9njwtyj8.png)
which means the average player is expected to lose $0.50.
The game is no-profit if the jackpot is
such that
![E[X]=-(99,999)/(100,000)+(J-1)/(100,000)=0](https://img.qammunity.org/2020/formulas/mathematics/college/5s231adebbcl69zlbmigicofybjje151ia.png)
Solving for
tells us the jackpot should be $100,000.