So the first number in row M is: 1+ 1+3+5+7+9+. . . +(2m-3)=(m- 1)^2+ 1
So (m- 1) 2+ 1
So m=45
So the first value of row m is 1936.
So n=2000- 1936=64.
So m+n=45+64= 109.