Change a rational number into its corresponding continued fraction

Continued Fraction
Rational

Compute the value of a continued fraction

Quadratic Irrational
Continued Fraction

Turn a quadratic irrational into a continued fraction

Continued Fraction
Quadratic Irrational

Find the value of a non-terminating continued fraction

Compute Convergents

Find the value of the convergents for any rational

Solve Pell's Equations

Find an integer solutions to equations of the form:

x^{2} - P * y^{2} = 1

Solve Linear Diophantine Equations

Find all integer solutions to equations of the form:

A * x + B * y = C

Solve Congruences

A * x = B (mod M)