Let X denote the number of times heads occur in n tosses of a fair coin. If P(X=4), P(X=5) and P(X=6) are in AP; the value of n is

a. 7,14
b. 10,14
c. 12,7
d. 14,12