Pell's Equation
Project Euler Problem 100 can be converted to the solution of a negative Pell's equation.
This paper descibes solution of Pell's Equation in length.
https://mathworld.wolfram.com/PellEquation.html is also useful for overview.
Date:
Project Euler Problem 100 can be converted to the solution of a negative Pell's equation.
This paper descibes solution of Pell's Equation in length.
https://mathworld.wolfram.com/PellEquation.html is also useful for overview.