If the coefficients of second, third and fourth terms in the expansion of (1 + x)ⁿ are n in AP, then n is equal to:
A.6
B.5
C.4
D.7