Given a Farey Sequence with consecutive terms and , then the mediant is defined as the reduced form of the fraction .
See also Farey Sequence
References
Conway, J. H. and Guy, R. K. ``Farey Fractions and Ford Circles.'' The Book of Numbers. New York:
Springer-Verlag, pp. 152-154, 1996.