Early in my teaching career, I was introduced to the Farey Series by the amazing Henry Pollak at a month-long 1993 Woodrow Wilson Leadership Program in Mathematics on the Mathematics of Change at Princeton University. I’ve inspired many (elementary school to college-level) students over the years with the following simple-to-understand mathematical nugget. It’s been an especially GREAT HOOK for student athletes and sports fans.

Here’s a simple illustration of how I believe Henry introduced these to us almost 20 years ago. Let’s say a softball player’s a batting average for the season is 0.387. How many official at-bats has she had? A quick-and-dirty response notes from which you could conclude that she has 387 hits in 1000 at-bats. That’s certainly a valid answer, but isn’t 1000 at-bats an unrealistically large number for one season? It also ignores the reality the 0.387 is quite likely a rounded or truncated number. So how can you answer this question when you’re not even sure how much you have of the number you’re approximating? It’s much simpler than you might think.

Start by finding the simplest two fractions which bound your target number. In this case, . Create a new fraction closer to the target by adding the two fractional bounds the way many students first learning fraction addition want to do: add the numerators and add the denominators–. Notice two things about this fraction:

- It’s value is between (but not at the midpoint!) the original two bounding fractions, and
- It remains higher than the target 0.387.

Replacing my original upper bound with my new fraction, I now have . Repeat the procedure to get , a new lower bound. Doing this a few more times leads to

Notice that each time I added the bounding fractions “the wrong way” to get a new fraction between the original bounds, and this new fraction became either my new upper bound or my new lower bound, and then I repeated the algorithm getting ever closer to my target value of 0.387. Doing this one more time gives ! Forget the earlier guess of 1000 at-bats, I now know that a batting average of 0.387 can be accomplished in just 12 hits in 31 at-bats!

There are two absolutely amazing (to me) facts about this particular fraction.

- is the smallest-denominator fraction whose decimal approximation to three places rounds to 0.387, meaning 31 is the absolute minimum number of at-bats for the original problem.
- If you continue the procedure, you will get a long sequence of fractions which all round to 0.387, eventually culminating with the fraction , bringing you all the way back to the original guess.

This procedure ** always** works. If you’re looking for an interesting math factoid to hook curious individuals from elementary school to adult, this is enough.

From a mathematical perspective, such fractions form a portion of the Farey Series, are called mediants (NOT medians), and are sometimes called freshman sums in reference to the way young ones often try to add fractions the wrong way. I was reminded again of Farey Series when I read @benvitale‘s ‘blog post on Approximations of Square Root of 2. He presents these in a different way that I’m certain relies at its core upon Farey series although I haven’t yet taken the time to fully explore it.

From a theoretical perspective, there’s lots here for older students who really want to know how a mediant works. Given two fractions where , it’s relatively simple for a student comfortable with algebra and inequalities to show that . That explains how the procedure above quickly narrows the bounds for the target decimal number. The hard part, as I recall, is proving that this procedure leads to the smallest-denominator fraction that rounds to the target decimal number.

In my brief research for this post, I also discovered some really interesting paradoxes at the end of the Cut-The-Knot article on mediant fractions. These are absolutely worth reading if you or someone you know adores mathematical surprises. Cut-The-Knot is a great site for lots of cool math facts and ideas.

A great application of the Farey Sequence… nice job.