EularProject 66:Diophantine equation

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zhangzhengyi03539/article/details/78447060

Andrew Zhang
Nov 4, 2017

Consider quadratic Diophantine equations of the form:

x2Dy2=1

For example, when D=13, the minimal solution in x is 649213×1802=1 .

It can be assumed that there are no solutions in positive integers when D is square.

By finding minimal solutions in x for D = {2, 3, 5, 6, 7}, we obtain the following:

322×22=1
223×12=1
925×42=1
526×22=1
827×32=1

Hence, by considering minimal solutions in x for D ≤ 7, the largest x is obtained when D=5.

Find the value of D ≤ 1000 in minimal solutions of x for which the largest value of x is obtained.

Answer:
661
Completed on Thu, 26 Oct 2017, 17:30
Go to the thread for problem 66 in the forum.

猜你喜欢

转载自blog.csdn.net/zhangzhengyi03539/article/details/78447060