A Miracle Equation

I always thought that the famous equation

102 + 112 + 122 = 132 + 142

is sort of a miracle, a random fluke. I enjoyed this cute equation, but never really thought about it seriously. Recently, when my son Sergei came home from MOP, he told me that this equation is not a fluke; and I started thinking.

Suppose we want to find five consecutive integers such that the sum of the squares of the first three is equal to the sum of the squares of the last two. Let us denote the middle number by n, which gives us the equation:

(n–2)2 + (n–1)2 + n2 = (n+1)2 + (n+2)2.

After simplification we get a quadratic equation: n2 – 12n = 0, which has two roots, 0 and 12. Plugging n = 0 into the equation above gives us (–2)2 + (–1)2 + 02 = 12 + 22, which doesn’t look like a miracle at all, but rather like a trivial identity. If we replace n with 12, we get the original miracle equation.

If you looked at how the simplifications were done, you might realize that this would work not only with five integers, but with any odd number of consecutive integers. Suppose we want to find 2k+1 consecutive integers, such that the sum of the squares of the first k+1 is equal to the sum of the squares of the last k. Let us denote the middle number by n. Then finding those integers is equivalent to solving the equation: n2 = 2k(k+1)n. This provides us with two solutions: the trivial solution 0, and the non-trivial solution n = 2k(k+1).

So our miracle equation becomes a part of the series. The preceding equation is the well-known Pythagorean triple: 32 + 42 = 52. The next equation is 212 + 222 + 232 +242 = 252 + 262 + 272. The middle numbers in the series are triangular numbers multiplied by four.

Actually, do you know that 102 + 112 + 122 = 132 + 142 = 365, the number of days in a year? Perhaps there are miracles or random flukes after all.

Share:Facebooktwitterredditpinterestlinkedinmail

9 Comments

  1. Jonathan:

    Also, $latex 20^2 + 22^2 + 24^2 = 26^2 + 28^2 $
    There are solutions for longer strings of even consecutive integers.
    It looks like there cannot be a solution in odd consecutive integers.

  2. Tanya Khovanova:

    Jonathan, solutions for even numbers can be generated from the solutions for just integers by multiplying them by 2.

  3. Jonathan:

    Oops. And I was so pleased with my (n-4)^2 + (n-2)^2 + … work. But yes, it is obvious (with 20/20 hindsight). How did I not notice that I had 20, 22, 24 instead of 10, 11, 12?

  4. misha:

    Possible generalizations to other degrees (instead of 2) are rather clear.

  5. A nice coincidence «:

    […] nice coincidence By vgtfinal Michael Lugo considers the Pythagorean triple , in which all three numbers are consecutive, and another similar […]

  6. Nilotpal Sinha:

    I would like to share a similar interesting property with squares. The sum of two integers is a square. The sum of their squares is also a square.

    (-3) + 4 = 1² and (-3)² + 4² = 5²

    9 + 40 = 7² and 9² + 40² = 41²

    This has infinitely many solutions.

  7. Alkis Piskas:

    Hi,

    Check this out about this equation: https://abstrusegoose.com/63
    Loved it.

    Alkis

  8. Habel:

    Can anyone answer this???Ram multiplied his year of birth with a big miracle number.His friend Sam also multiplied his year of birth with another miracle number.When they add their results they got an answer equal to 825384558296.What is the year of birth of Sam and Ram.(HINT: eqn used ax+by=ans,where a,b are year of birth(b/w 1920 & 2010) and x,y are big miracle numbers.ans is the sum.)

  9. Anil Babasaheb Tambe:

    3^2+4^2=5^2

    Add 3+7=10 & 5+9=14

    10^2+11^2+12^2=13^2+14^2
    10+11=21or14+13=27gives first and last numbers
    So
    21^2+22^2+23^2+24^2=25^2+26^2+27^2

    Again 21+15=36 & 27+17=44

    So
    36^2+37^2+38^2+39^2+40^2=41^2+42^2+43^2+44^2

    Next will be 36+19=55 and 44+21=65
    No will be 55,56,57,58,59,60,61,62,63,64,65

    And so on….

Leave a comment