I've worked out the result to a basic coin flipping problem and want to generalize it.
The basic problem is: there are N players, and they take turns of flipping a coin (in the same cyclical order) until the first person to get 1 heads wins. Coin is not necessarily fair so give it probability p of Heads. The answer I worked out is as follows. Say P(m) represents the probability that player m (of the N players) wins. Then:
$$ P(m) = \frac{(1-p)^{m-1}p}{1-(1-p)^{N}} $$ This is because for player m to win, the m-1 preceding players must get tails with probability (1-p). It also uses the convergence formula for the sum of a geometric series.
----------------------------------------------------------------------------
Now my question is how to generalize this from: "winning"= first person to get 1 Heads, to "winning"= first person to get K heads? In other words, players take turns (in the same order as before) of flipping a coin a single time. Once all the players have flipped, then as before, the cycle repeats from player 1. But this time, the winner is the first person to get K heads (not necessarily in a row) before anyone else gets K heads. I'm having difficulty because the tree of possibilities expands very quickly. For instance, I'd be happy to at least see the derivation for the case of K=2.