The first Farey sequence is
To put fractions in increasing order compare pairs of fractions written with the same denominator, for example to compare 1/3 and 2/5 write them as