Solving the diophantine equation ax2+bxy+cy2=n, where b2-4ac > 0 and is not a perfect square, n non-zero


This program was written by the author after studying page 94 of the recent book Quadratic Diophantine Equations, Titu Andreescu, Dorin Andrica, Developments in Mathematics, Vol. 40, Springer 2015.

The program is a BCMath version of BC function aa2().

Enter a (nonzero):
Enter b:
Enter c(nonzero):
Enter n (non-zero):

Last modified 11th September 2015
Return to main page