A magic card drawing simulation with 1000 trials

The average number of turns required to find 3 copies of the target card is 0.5.

Turn Games Sum
Number of cards in deck:
Number of target cards:
Number of search cards:
Desired number of copies 
of the target card:
Go first?
Number of trials:
Number of lines to print together:

Mulligan algorithm:
Mulligan to 6 if 0, 1, or 7 target cards
Mulligan to 5 if 0, 1, or 6 target cards
Mulligan to 4 if 0 target cards
Mulligan to 3 if 0 target cards
Keep 3 no matter what

If you notice a problem with this page,
please e-mail me!