The repeated tossing of the die are Bernoulli trials. Let X represent the number of times of getting sixes in 6 throws of the die.
Probability of getting six in a single throw of die, p=16
∴q=1−p=1−16=56
Clearly, X has a binomial distribution with n=6
∴P(X=x)=nCxqn−xpx=6Cx(56)6−x⋅(16)x
P(atmost2sixes)=P(X≤2)
=P(X=0)+P(X=1)+P(X=2)
=6C0(56)6+6C1(56)5⋅(16)+6C2(56)4⋅(16)2
=1⋅(56)6+6⋅16⋅(56)5+15⋅136⋅(56)4
=(56)6+(56)5+512⋅(56)4
=(56)4[(56)2+(56)+(512)]
=(56)4⋅[2536+56+512]
=(56)4⋅[25+30+1536]
=7036⋅(56)4
=3518⋅(56)4