N Heads in a Row
Given a coin that lands heads with probability 0 < p < 1, what is the expected number of flips needed to get N heads in a row?
Solve with p = 0.73 and N = 20.
Then can someone give a general method / formula based only on p and N?
Thanks
