@w0lfshad3,
Assuming this is the problem:
- Digits are chosen from 0-9
- R1 picks 5 distinct digits and a 6th digit that is the same as one of the other 5
- R2 picks 3 instances of one digit and 3 instances of a second, distinct digit
- What is the probability that R1 and R2 will have 3 digits in common (R1's pair and another distinct digit)?
The answer is 4/45.
Given R1's choices, R2 has:
- C(1,1) ways to match R1's pair
- C(4,1) ways to match one of R1's other 4 digits
- C(10,2) total choices
P = C(1,1) * C(4,1) / C(10,2) = 4/45
Given R2's choices, R1 has:
- C(2,1) ways to select the pair
- C(1,1) ways to match the other triplet
- C(8,3) ways to select the 3 non-matching digits
- C(10,5)*C(5,1) total choices
P = C(2,1) * C(1,1) * C(8,3) / (C(10,5) * C(5,1)) = 4/45