Farey sequence calculator.

with a denominator up to