Ways to be all the same flavour = 3
Ways exactly 5 can be the same = 6C5*3*2 = 36
Ways exactly 4 can be the same = 6C4*3*2*2 = 180
Ways exactly 3 can be the same = 6C3*3*2*2*2 = 480
Add them up = 699
--------------------------------
another thought...
How many ways altogther, no conditions 3^6 = 729
There are no ways to not double up the flavour, I mean they cannot all be differerent.
The only way NOT to have 3 or more of one flavour is for there to be 2 of each flavour.
6!/(2*2*2) = 90
729-90 = 639.
-----------------------------------------
If my logic was correct these 2 answers would be the same.
They are not the same so my logic is flawed.
MAYBE SOMEONE CAN POINT OUT THE LOGIC ERROR THAT I HAVE MADE.