A codeword is transmitted over a channel with an error probability p. The codeword is repeatedly transmitted until the receiver correctly receives it. Determine the probability that the receiver correctly receives the codeword for the first time on the k-th transmission. Also determine the average number of transmissions until the receiver correctly receives the codeword.