mn为自然数,且满足168+n^2=m^2,求m和n

问题描述:

mn为自然数,且满足168+n^2=m^2,求m和n

168=m^2-n^2=(m+n)(m-n),(1)1=m-n, 168=m+nm=n+1,168=2n+1,(偶数=奇数),无解.(2)2=m-n, 84=m+nm=n+2, 84=2n+2=2(n+1), n=41, m=43.(3)4=m-n,42=m+nm=n+4, 42=2n+4=2(n+2), n=19,m=23.(4)8=m-n, 21=m+nm=n+8, 21=2n+8...