This program computes the base-b expansions of positive fractions.
The repeating part, if any, is enclosed in parentheses.
Enter the base for the expansion in the first box: one of the numbers 2,3,4,5,...,36.
Enter a fraction in the form 121/26 in the second box and click on "Go".

is the base b
is the fraction

See what fractions are in the Cantor set, along with their ternary expansions:

is the bound on the denominator

Convert a repeating base-b expansion to a fraction:

is the base b
is the repeating base-b expansion