This polynomial equation (3) defines an algebraic curve of genus 0. We give
a parametrization over Q of the rational points on this curve. First suppose
that b = 0. Then using (1) we obtain the values A = −1, 3, and once again
using (1) we obtain the solutions