Text
The mediant of the fractions and is (it is how the Stern–Brocot tree is built). Compute the mediant of and and check that it lies between the two.
Solution
Compare with the starting fractions: , , . Indeed The mediant always falls between the two fractions (it is not their average, but it always has this “in-between” property).