若正整数x,y满足x^2+y^2=1=2x+2y,求x+y的值
问题描述:
若正整数x,y满足x^2+y^2=1=2x+2y,求x+y的值
答
x²-2x+1+y²-2y+1=1(x-1)²+(y-1)²=1即两个整数的平方分是1则0²+1²=1不妨设(x-1)²=0,(y-1)²=1所以x-1=0,y-1=1或x-1=0,y-1=-1x=1,y=2x=1,y=0正整数则x=1,y=2所以x+y=3...