x2go vs nomachine
How many 5 card poker hands are there with 3 clubs and 2 diamonds? Well, there is no repetition of cards in a hand, and the order doesn't matter, so we have a combination again. Since there are 13 clubs and we want 3 of them, there are C(13,3) = 286 ways to get the 3 clubs. Since there are 13 diamonds and we want 2 of them, there are C(13,2. For your first card dealt, there are 52 possible cards, for the second card dealt, there are 51 possible cards. ... The answer would be 52 x 51 / 2, or 1326 different two-card hands. The formula for Combinations n choose r is the same as the permutation formula with an additional division by r!, the number of ways that r items could be arranged.