Calculator: Farey sequence
Enter the labelled inputs to calculate: Count; Result.
Enter a finite value within the formula’s domain and supported numeric range.
How the calculation works
Fₙ={a/b∈[0,1]:gcd(a,b)=1,b≤n}
Integer inputs are bounded as shown. Exact integer results are displayed in full. Iterative tools have finite work limits; the Collatz calculation does not assert a general convergence proof.
Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
Frequently asked questions
How is the result calculated?
Fₙ={a/b∈[0,1]:gcd(a,b)=1,b≤n}
What assumptions apply?
Integer inputs are bounded as shown. Exact integer results are displayed in full. Iterative tools have finite work limits; the Collatz calculation does not assert a general convergence proof.
How precise are the displayed results?
Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.