Diophantine Equations
In surprisingly many of the problems here, we encounter a certain kind of equation. Let us give it a name:
Definition: Generalized Pell Equation
This type of equation essentially describes a hyperbola and we're interested in the intersections with the integer “grid” on the graph. More general types of this equation have the umbrella term Diophantine equation.
Finding the minimal solution
We can find the first solution just by trying values of
Then we just iterate through
Example: For
Special case c = 1
In the special case that we have
Finding more solutions
There is a way to construct more solutions from the initial solution. We will need find a recursion relation. For that we need to introduce a field norm that will help us construct the recursion relation.
Field norm
Apparently in algebraic number theory, there is the concept of a field norm. At the time of writing, this is all new to me. I will focus on introducing the important concepts here.
Complex numbers can be written as
Definition: Field Norm
The general norm for
We can now reformulate the initial Diophantine equation not as finding a pair
Multiplicative property
For the field norm to be useful, we need to look at the multiplication of the elements.
Theorem: Element Multiplication
Let
Proof
We write out the elements and regroup the terms with and without
The field norm has a multiplicative property that will become useful to use later on:
Theorem: Field Norm Multiplication
Let
Proof
This can be shown by inserting everything on both sides of the claim and simplifying. As an intermediate step we get
Further simplification shows that both sides are equal and hence the theorem is proven.
Recursion relation
We had reformulated finding a solution to the Diophantine equation by finding elements
Theorem: Next Solution
Let (x, y) be a solution to
Proof
Let
By the field norm multiplication and using
As
Using the *element multiplication, we can write the product of
From this we can read off the second solution as claimed.
We can apply this approach as many times as we want. This brings us to the recursion relation:
Theorem: Recursion Relation
Let
Proof
We have already shown that
Alternatively we can go back to the field norm multiplication and see that
This gives us the recursion relation to easily construct arbitrary many solutions to the generalized Pell equation.
We haven't shown that we can generate all solutions by using the minimal solution to Pell's equation in the recursion relation. If one applies the recursion with a non-minimal