It is known that the sum of the monomial 3amb2 and − 23a4bn-1 is a monomial, then - M + n=______ .

It is known that the sum of the monomial 3amb2 and − 23a4bn-1 is a monomial, then - M + n=______ .

According to the meaning of the question, 3amb2 and − 23a4bn-1 are the same category, M = 4, n-1 = 2, and the solution is m = 4, n = 3, - M + n = - 1