Sequence Rank
The position of a rational number in the sequence 1/1, 1/2, 2/1, 1/3, 3/1, 1/4, 2/3, 3/2, 4/1, 1/5, ..., ordered in terms of increasing numerator+denominator.
See also
Encoding, Farey SequenceExplore with Wolfram|Alpha
WolframAlpha
More things to try:
Cite this as:
Weisstein, Eric W. "Sequence Rank." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/SequenceRank.html