Solving the diophantine equation ax2 + bxy + cy2 + dx + ey +f = 0, where not all of a, b and c are zero.


An outline of the algorithm used was updated 29th August 2022. A novel feature is the use of a theorem of John Robertson in the case b2 - 4ac > 0 and nonsquare and where not both d and e are zero.

This is a BCMath version of BC function sswgeneral(a,b,c,d,e,f) contained in patz.

Enter a:
Enter b:
Enter c:
Enter d:
Enter e:
Enter f:

Last modified 29th August 2022
Return to main page