若方程组x2?y2=P3xy+P(x?y)=P2的解(x,y)为整数,求满足条件的质数P
若方程组x2?y2=P3xy+P(x?y)=P2的解(x,y)为整数,求满足条件的质数P....
若方程组x2?y2=P3xy+P(x?y)=P2的解(x,y)为整数,求满足条件的质数P.
展开
x
2-y
2=(x+y)(x-y)=p
∵P为质数,
∴当x+y=1时,x-y=P,
∵3xy+P(x-y)=P
2,
∴
[(x+y)
2-(x-y)
2]+P
2=P
2,
∴
(1-P
2)=0,解得P=±1(舍去P是质数),.
当x+y=P时,x-y=1,
∵3xy+P(x-y)=P
2,
∴
[(x+y)
2-(x-y)
2]+P=P
2,
∴
(P
2-1)+P=P
2,化简得P
2-4P+3=0解得P=1或3.
∵P是质数,
∴P=3.
∴满足条件的质数P是3.
收起
为你推荐: