Infinite Term Quadratic Diophantine Solver

By Firecakes

How many variables in your diophantine equation?

Please input a number greater than 2

Please input a number {{maxSize}} or less

1 x{{index+1}}
{{ i == 0 ? "1" : `x${i}` }}
y{{index+1}}

Integers only, please.


Your equation: {{ gridEquation }}

Where one valid solution is: {{ gridEquation.replace(/x/g, "y") }}

Note: This calculator will not check if your set of y variables create a valid solution

Final equation: {{ gridEquationWithAVars }}


{{ eq }}