guess 3 of 5 repeating non-ordered numbers from 1 to 6 I'm trying to calculate the probability of guessing 3 numbers on a set of 5.
The range is $[1, 6]$, the order is not relevant and numbers can repeat.
I did a small script to calculate it by brute force, and I got something unexpected.
Choosing 3 identical numbers (e.g. 1, 1, 1) has a lower probability of drawing than 2 identical numbers, and this is also lower than 3 different numbers.
I can't figure out why.

Guessing $1,1,1$ will match the sets that have $3$ or more $1$.  There is $1$ set of $5$ ones, there are $5*5=25$ sets that have $4$ ones ($5$ positions for the non-one to be in and $5$ options for the value of the non-one), there are ${5\choose 2}*5 = 50$ ways to have $3$ ones and two of another value.  And ${5\choose 2}5*4 = 200$ ways to have $3$ ones and two other values.  This is $255$ ways.
Guessing $2,2,1$ will match sets that have $4$ twos and $1$ one: $5$ sets.  $3$ twos and $2$ ones: ${5 \choose 2} = 10$ sets.  $3$ twos, $1$ one and something else: ${5\choose 3}{2\choose 1}*4 = 80$ sets.  $2$ twos, and $3$ ones: ${5\choose 2} = 10$ sets.  $2$ twos, $2$ ones, and something else: ${5\choose 2}{3\choose 2}*4 = 120$ sets.  $2$ twos, $1$ one and $2$ of something else: ${5\choose 2}*{3\choose 1}*4 = 120$ sets.  $2$ twos, $1$ one and two other things: ${5\choose 2}{3\choose 1}4*3 = 360$.  Or $360+120+120+10+80+10+5 = 705$ sets.  Many more options!
Guessing $1,2,3$ can mean.... well, three of one of the numbers and one of the other two: $3*{5\choose 3}*2! = 60$( three choices for the triple, choices for where to put the triples, ways to place the remaining two).  Or two of two of them and one of then third: $3{5\choose 2}{3\choose 2}= 90$ (Three choices for the single, where to place the first of te doubles, where to place the other doubles.)  Two of one of them, one of the other two, and forth number.  $3{5\choose 2}{3\choose 1}{2\choose 1}*3 = 540$. (3 chooses for the double, where to put them, where to put the singles, and what the fourth number is.  Or exaclty one of each.  ${5\choose 3}*3!*(3)^2 = 540$ (places to put the three, order to place the three within their posistions, 9 posible value of the remaining two numbers.) For $60 + 90 +540+540 = 1230$ possible ways.
