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 24th Feb 2020. 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 13th January 2021
Return to main page