When a coin is tossed n times and the probability for getting 6 heads is equal to the probability of getting 8 heads, then the value of n is
10
12
14
20
P(X=6)=P (X=8)
⇒nC6(12)n=nC8(12)n
⇒nC6=nC8
∴ n=14