Let be the constant term in the binomial expansion of . If the sum of the coefficients of the remaining terms in the expansion is 649 and the coefficient of is , then what is the value of ?