Let’s listen in on a conversation between siblings divided by math, so to speak:
“That’s amazing!” said Mathophila. “The squares of three consecutive positive whole numbers add up to the same number as the squares of the next two numbers.”
“Oh, no big deal, that must happen all the time,” replied her brother, Innumeratus.
“I don’t know, it seems like an amazing coincidence to me!” retorted Mathophila.
Find the smallest collection of numbers with the described property, and settle the argument between the siblings: determine whether there are infinitely many sets of numbers as described by Mathophila, or a finite number (and if so, figure out exactly how many solutions there are).
This problem originally appeared in the Prisoner’s Dilemma in the 2023 Spring issue of the PMP Newsletter. Solutions are no longer being accepted for this Dilemma.
Show solution?
Solution.
We received solutions from Chris Bistryski, William Keehn, Blazej Kot, and Robert Noll, all PMP participants. All of the solutions proceeded algebraically by assigning a variable to the value of one of Mathophila’s numbers, which determines the others since her five numbers are all consecutive. But Robert pointed out that the algebra works out most smoothly if you let your variable represent the middle number. Then you get the following equation satisfied by Mathophila’s numbers:
This relationship simplifies to , or factoring, . Hence is either 0 or 12, but the smaller value would make some of the numbers negative. Hence the only set of five numbers with Mathophila’s properties is . Amusingly enough, the common value of the left and right hand sides is the number of days in a year (as long as it’s not a leap year).
Chris, however, took this conclusion as merely the start of an in-depth exploration. He first asked what would happen if Mathophila had a set of consecutive numbers so that the sum of the squares of the first of them is the sum of the squares of the next of them (so that in Mathophila’s original case, ). He proved in this more general setting that the middle number of the set must be , or just four times the th triangular number. For example when ,
See if you can match Chris’s accomplishment (you might want to try using induction on the value of , or you may find another method). Not content to stop there, Chris asks whether for any whole numbers and both greater than one, the sum of consecutive squares is equal to the sum of the next consecutive squares. For example, the simplest case of this question is but the equation corresponding to the first one above simplifies to . This quadratic has only one positive solution , so there are no whole-number solutions. In fact, Chris was able to show that there are no whole-number solutions for any when . But that still leaves a whole lot (infinitely many!) of other possibilities for , so if any reader is able to to find (an) other value or values that allow whole-number solutions (for one or more values of ), we’ll be happy to post these findings here, so send in your work any time!