Total ways of getting 2 and 4 exactly 3 times is 6! / (3! 3!) = 20
Total number of ways in throwing 6 dice is 66
Therefore probability is 20/ 66 = 5/11664
Total no. of outcomes = 6={2,2,2,6,6,6}
p(getting a six)=3/6=1/2
Using the formulae,
here
therefore