Requirement
The clarification in the comments confirms that this question relates to all hands which include three of a kind (including any better winning hands such as a flush or full house) where at least one of the triple in the original (unpaired) starting hand. Hands where both hole cards make three (or four) of a kind are also included.
Overcounting is not (as suggested in the comments) as simple as just subtracting 3C2 * 3C2 * 46
. The problem is that when you use 46C2
or 46
, those 46 cards include an Ace and a King, so boards with three Aces or three Kings will still be counted twice.
The exact result is quite fiddly to calculate accurately - you need to be very careful to avoid double-counting - but one approach is given below.
Approach
Without loss of generality we can assume the original hand is AK (meaning that any other unpaired hand will yield the same result). Suitedness is not relevant as flushes do not matter.
First, sum the following:
- The number of boards with exactly two Aces (and any three other cards).
- The number of boards with exactly three Aces (and any two other cards).
- The number of boards with exactly two Kings (and any three other cards).
- The number of boards with exactly three Kings (and any two other cards).
Note that this will double-count the following boards (where x
indicates a card which is not an Ace or King): AAKKx
(in #1 and #3 above); AAAKK
(in #2 and #3); and AAKKK
(in #1 and #4). We therefore need to calculate the number of each and subtract those numbers. (Note that these three board textures are themselves distinct, i.e. do not overlap, so there is no double-counting here.)
Lastly, use the result as the numerator and the total number of possible boards as the denominator (as per the question).
As you say, we can ignore the order of the board, so by "number of boards" I mean the number of distinct combinations of five cards, ignoring their order.
Calculation
The number of boards with exactly two Aces is 3C2 * 47C3
. (We use 47 because we exclude four Aces plus the King in your hand.)
The number of boards with exactly two Kings is also 3C2 * 47C3
, by equivalent logic.
The number of boards with exactly three Aces is 47C2
. (Again, use 47 because we exclude four Aces plus the King in your hand.)
The number of boards with exactly three Kings is also 47C2
, by equivalent logic.
And for subtractions (for double-counting):
The number of AAKKx
boards is 3C2 * 3C2 * 44
(44 because there are 44 cards which are not an Ace or a King).
The number of AAAKK
boards is 3C2
(choosing two of the three Kings not in your hand).
The number of AAKKK
boards is also 3C2
, using equivalent logic.
Putting all of this together, the total number of unique boards containing at least two Aces and/or at least two Kings is:
(3C2 * 47C3 * 2) + (47C2 * 2) - (3C2 * 3C2 * 44) - (3C2 * 2)
The total number of boards (again, up to ordering) is 50C5
, so divide the above result by 50C5
to get 0.046749 or 4.67% (to 2dp).
As expected, this is very close to your original answer, but slightly lower because the original calculation included some double-counted boards.
Finally, I should point out that this calculation includes hands where your hole cards do not actually contribute. For example, suppose you hold 32 and the board is AAA22. You have made "three of a kind" with your 2, but this doesn't improve upon the board itself which is Aces full of 2's - in other words, you can do no better than "play the board". This seems slightly at odds with the requirement to include only three-of-a-kind hands where one of the triple is in your hand, but maybe that's ok (and of course this only makes a small difference to the overall result).