Question 473196
[ consider three cases: the numbers are all different; two of the numbers are the same and the other is different, and all three are equal]
<pre>

If the three numbers are all different:  C(6,3) = 20
If two of the numbers are the same and the other is different: 6*5 = 30 ways
If all three are equal: 6 ways

Answer 20+30+6 = 56

Edwin</pre>