A gambler plays a game of chance where he wins $1 with probability and loses $1 with probability 1-P each time he plays. The number of games he plays in an hour,N , is a random variable with a geometric PMF
(a) What is the PGF of the gambler's total winnings after playing for an hour?
(b) What is the probability that the gambler has not lost any money after an hour if