If binomial coefficients of three consecutive terms of (1+x)n are in HP, then the maximum value of n is