If in the expansion of (1+y)n, the coefficient of 5th,6th and 7th terms are in A.P., then n is equal to: