Continued fraction calculator

Enter p and q to find the Hirzebruch-Jung continued fraction representation.


Result
Enter p and q to calculate.