Suppose 2 people (call them A and B) challenge each other to a card game. A fair, well shuffled, standard 52 card deck is used for each hand. Community (shared) cards are drawn one at a time without replacement for each hand. Player A will win if all four Kings are drawn in a hand. Player B will have a candidate win if a pair of triples are drawn from the following ranks (2,3,4,5,6,7,8,9,10) in a hand. Since it is more likely that B will encounter a candidate win before A wins, both players agree that even if B gets a candidate win (let's say for example with 20 cards drawn so let n = the number of cards drawn for B to have the first candidate win of the hand), community cards will continue to be drawn for that hand until either twice as many cards are drawn and there is no win for A, or A has a win before 2n cards are drawn.
For example: Let's suppose player B gets a candidate win early in the hand at the 10th drawn card (not likely but good to keep this example short). The drawn cards could be something like this: 3 5 K 7 5 J K 3 3 5. Here B has a candidate win with 333 and 555 but the rules of the game state that A has a chance to win by getting the 4 Ks within twice the number of cards drawn when B gets the first candidate win (in this example twice 10 cards = 20 cards). So for example, if drawn cards 11 thru 15 were 9 2 K Q K, then A would actually win because A's win was in 15 cards and B's candidate win was in 10 cards and 15 is less than double of 10. In this case, B's candidate win would lose.
So there will be a winner every hand.
So the question is who will win in the longrun based on the given rules? How do you compute this mathematically? That is, how do you determine the average number of cards for each player to get a candidate win and if we apply these rules of the game, who should win in the longrun?
For clarification, note that quads of ranks 2,3,4,5,6,7,8,9 and 10 are still considered triples. So (for example), B can still have a candidate win if cards 2 2 2 3 3 3 3 are drawn somewhere in the hand before seeing quad Ks. The last card of rank 3 here might be drawn as we are drawing more cards to see if A will have a win within the allowed # of cards. Also, even if more than a 2 occurrences of triples in ranks 2,3,4,5,6,7,8,9,and 10 show up, that is still considered a candidate win for B. For clarity, think of the first pair of triples seen (in ranks 2,3,4,5,6,7,8,9,10) as the start of the candidate win for B (taking note of how many cards were drawn up to that point), and as we draw more cards to see if A wins or not, other triples that come up will not nullify the candidate win that B already has.
Also, in the rare case where the four Ks appear before player B gets the 2 occurrences of triples, the hand would stop immediately since that is clearly a win for player A.
For clarity I should also mention that quads in ranks 2..10 are still considered a candidate win for B such as if cards 2 2 2 2 7 7 7 7 are seen before the 4 Ks are seen. This is because once a triple in ranks 2..10 is seen, it retains the triple "status" (for the purpose of this game), even though it may later turn into a quad during that same hand.
Also note that the minumum # of drawn cards for A to win is 4 (KKKK) but the minimum for B to win is 12 (such as 3 5 3 5 3 5 7 K 8 K 9 K). Even though B has the candidate win at drawn card 6 in this example, we have to allow 12 drawn cards total to ensure there is no win by A within the 12 total cards.
Here's a partial answer giving the expected number of cards drawn to get 4 Kings for the first time, and a conceptual answer to the two triplets question.
Notably, the "first time" requirement makes this problem trickier than it looks at first, and is the main complication blocking me from presenting a complete answer with the two triplets.
For 4 Kings, the probability that round $n$ yields the four kings is the probability of having 3 kings at round $n-1$ and drawing the last king at round $n$.
$$p(n) = \frac{1}{52-(n-1)} \times \frac{{48 \choose n-4}}{{52 \choose n-1}}$$
Summing this from $n = 4$ to $52$ yields 0.25, which we use to normalize and find the expectation:
$$\sum_{n=4}^{52} \frac{n \times p(n)}{0.25} = 42.4$$
I confirmed this answer using computer simulations. Incidentally, the expected number of rounds to achieve two triplets is roughly 21.2 by simulation and is the long term winner (barely).
When considering the expected round to achieve two triplets, it's natural to notice that by the pigeonhole principle, it must be less than 37, since it's impossible to not have two triplets by the time the 37th card is drawn. We get this number from 16 (4 cards x 4 face ranks) + 8*2 (8 suits between 2 and 9 with 2 cards each) + 4 (our first triplet with the maximal 4 cards allowed); drawing the 37th card must necessarily complete a second triplet.
I recommend using the above approach, that is, finding $p(n)$ by the product of the probabilities for
the event that at round $n-1$ we don't have two triplets, but it's possible to draw a single card and complete our second triplet
the event that at round $n$ we draw a single card that completes the second triplet
I'll describe the mathematical concepts to answer this problem.
The minimal situation at round $n-1$ can be described using:
$$\binom{9}{1}\binom{4}{3}\binom{8}{1}\binom{4}{2} \times ...$$
This counts the number of ways you can have a "full house" within the 9 non-face ranks. This is the minimal condition at round $n-1$ for it to be possible to complete two triplets by round $n$.
$$\frac{2}{52 - (n-1)}$$
This expression counts the probability of drawing a single card that completes the second triplet, under our minimal condition.
For all the remaining cards, we need to count the number of ways to place them into 4 face ranks and 7 non-face ranks without inducing more non-face triplets. This can be expressed as counting the number of ways you can place $n$ indistinguishable balls into $k$ bins, with a max of $m$ balls per bin (see
http://math.stackexchange.com/questions/89417/number-of-ways-to-put-n-unlabeled-balls-in-k-bins-with-a-max-of-m-balls-infor a good reference).Lastly, for all non-face ranks that we place 2 balls into (draw 2 cards in), we need to adjust the number of winning draws at round $n$ that will complete a second triplet.
Conceptually I believe this should work, but this is a partial answer because I'm having difficulties expressing it all into a single equation that yields the expectation occurring by simulation, 21.2. If I make more progress on this, I'll update this answer.