About a decade ago an interesting question was asked on MathOverflow.net. It’s based on a problem appearing on the black board in a painting by the Russian painter, pedagogue and academician Nikolay Bogdanov-Belsky. The problem which intrigued peasant students in the painting has also caught the attention of users of social media.
One of the solutions to solving the problem with minimal calculations centers around the fact that 102 + 112 +122 = 132 + 142 = 365. Stringing all the squares together in a sum is really twice that sum of 365, divided by 365. So the answer is 2
But more interesting is the fact that this is an example of a Rachinsky quintet. Russian nuclear physicist, Zurab Silagadze, challenges readers to find a formula generating other sets of numbers that behave this way. After all, there is a well-known Euclidean formula that generates so-called Pythagorean triplets, which are whole numbers satisfying a2 +b2 = c2.
If you focus on 12 in the equation 102 + 112 +122 = 132 + 142, and pretend we did not know its value, we could replace it with algebra’s favorite letter x. (There is no x in the Italian alphabet, which begs the question: do algebra books in the land of sun, olives and olive-skin still teem with x’s? Of course, but I digress.) The equation would become (x – 2)2 + ( x- 1)2 + x2 = (x + 1)2 + (x + 2)2. Notice the symmetry of adding 1 and 2 to x on the right hand side of the equation and subtracting 1 and 2 on the right hand side. If we replace 1 and 2 with a and b, we will obtain:
(x – a)2 + ( x- b)2 +x2 = (x + a)2 + (x + b)2.
Simplifying and factoring, we get x( x- 4(a+ b)) = 0, which means that x can be zero or
x = 4(a+ b). To avoid redundancy, we can choose any whole number values of and b, where the greatest common divisor of a and b equals 1. So if we chose a = 1 and b=2, we would end up with x = 4(1+2)=12. And plugging all that into (x – a)2 + ( x- b)2 +x2 = (x + a)2 + (x + b)2 would yield our original 102 + 112 +122 = 132 + 142.
But if you wanted something different, we could choose a = 2 and b = 3. Then x = 20, which would generate the Rachinsky quintet, 172 + 182 + 202 = 222 + 232. Unfortunately the numbers are not all consecutive. Our first equation is the only quintet with consecutive whole numbers. But there’s hope.
We can create a septet of squares. (x – a)2 + ( x- b)2 + ( x – c)2 + x2 = (x + a)2 + (x + b)2+ ( x + c)2. This simplifies to x = 4( a + b + c). To make the numbers consecutive, we choose a = 1; b = 2; and c= 3, yielding x = 24, leading to the pretty septet: 212 + 222 + 232 + 242 = 252 + 262 + 272 = 2030.
In general, for an n number of terms that we want on the right hand side of the quintet, septet, duodectet or whatever our hearts desire, ( a + b + c+…n) =
If, for example, we wanted 6 terms on the right hand side, x = 2(6)(7) = 84 and we’d get the tredectet:
782 + 792 + 802 + 812 +822 + 832 + 842 = 852 + 862 + 872 + 882 + 892 + 902 .
Want to keep it simpler? No problem. Have only one term on the right. Then x =2n(n+1) with n=1 becomes 2(1)(1+1)= 4, leading to the classic Pythagorean triplet : 32 + 42 = 52.
To conclude with another digression, if you look at another of Belsky’s paintings (above), do you notice someone who was also present in the first painting? After Belsky’s art had been considered inappropriate in the Soviet Union, he was forced to relocate. When he fell ill in 1945, he was taken to a hospital in Berlin, which the Allies bombed, ending his life.