How to resolve the algorithm Pell's equation step by step in the Phix programming language

Published on 12 May 2024 09:40 PM

How to resolve the algorithm Pell's equation step by step in the Phix programming language

Table of Contents

Problem Statement

Pell's equation   (also called the Pell–Fermat equation)   is a   Diophantine equation   of the form: with integer solutions for   x   and   y,   where   n   is a given non-square positive integer.

Let's start with the solution: