Question: I toss a coin which lands heads with probability p. Let WH be number of tosses till I get a head, WHH the number of tosses till I get two heads in a row, and WHHH the number of tosses till I get three heads in a row. Find:
a) E(WH):
b) E(WHH) [Hint: condition on whether the first toss was heads or tails]:
c) E(WHHH) [Hint: condition on WT].
d) Generalize to find the expected number of tosses to obtain nt heads in a row