How to find all pairs $(a,b)$ of natural numbers that satisfy $a^2-2b^2=-73696$ and $\gcd(a,b)=4$
The only thing I was able to do is to change the equation to
$a_1^2-2b_1^2=-4606$ with $\gcd(a_1,b_1)=1$ This gives that $2|a_1$ so the equation becomes $2a_2^2-b_1^2=-2303$ ,$2a_2=a_1$
I can't find useful bound or factorization to complete , Can someone help me please ?
There are infinitely many solutions and they come with a linear degree two recursion. I was finding $x^2 - 2 y^2 = 2303$
The first observation is a generator for the (oriented) automorphism group of the quadratic form $$ x^2 - 2 y^2 = (3x+4y)^2 - 2(2x+3y)^2 $$ As your target $2303$ is composite we need six families of solutions as $$ x_{n+6} = 3x_n + 4 y_n $$ $$ y_{n+6} = 2x_n + 3 y_n $$
These have parallel recurrences $$x_{n+12} = 6 x_{n+6} - x_n $$ $$y_{n+12} = 6 y_{n+6} - y_n $$
I think I will include the inequality part, this is how the business gets proved. The solutions that my program, below, calls "seeds" are those $x,y >0 $ such that either $3x-4y \leq 0$ or $-2x+3y \leq 0.$ The $3x-4y$ condition causes no restrictions, but the second, $y \leq \frac{2x}{3},$ gives firm upper bounds on both $x,y.$ Finding where the line intersects the hyperbola, we learn $x < \sqrt {20727} \approx 143.9687,$ with the $y$ bound two thirds of that. And there are exactly six such fundamental solutions.
let me type in the lists
as the $x$ begin $$ 49, 55, 65, 71, 89, 119, 175, 241, 319, 361, 479, 665, 1001, 1391 $$
while the $y$ begin
$$7, 19, 31, 37, 53, 77, 119, 167, 223, 253, 337, 469, 707, 983, 1307, 1481, 1969, 2737, 4123, 5731,$$
let me throw in the pairs list which has the line numbers I am calling $n$