Solving the diophantine equation ax2 + bxy + cy2 + dx + ey +f = 0, where a ≠ 0, b2 - 4ac > 0 is not a perfect square.

This program is based on the method contained in A New Look at and Old Equation, R.E. Sawilla, A.K. Silvester, R.C. Williams, LNCS 5011, 37-59, 2008, especially pages 38-40.

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

Enter a (nonzero):
Enter b:
Enter c:
Enter d:
Enter e:
Enter f:

Last modified 15th March 2015
Return to main page