Euler noted in 1770 that
and since then many people must have rediscovered this. Mathematician have generalisation in their DNA and it's natural to ask if there are other examples of consecutive cubes whose sum is also a cube. Some well known examples are
.
So are there infinitely many example? The answer is yes. Here's the story
In 1829 Camille Pagliani, an army cadet, responded
to a challenge problem (there is a long tradition of mathematicians putting out problems and challenging others to solve them). [1]
Take note of that mille; we are being asked for 1000 consecutive cubes, whose sum is itself a cube!
Pagliani came up with the (I assume tongue-in-cheek) solution
, but he also found
, and the method he developed generates an infinite family of solutions.
I checked the calculation in Python
cubes = [n**3 for n in range(1134, 2133 + 1)]
len(cubes)
1000
sum(cubes)
4767078987000
import math
math.cbrt(4767078987000)
16830.0
Hey Presto!
This and similar problems have remain a subject of interest and research right up to the present day. For a good recent survey see [2].
[1] C. Pagliani, Solution du problème d’analyse indéterminée énoncé à la pag. 212 du présent volume, Annales de Mathématiques pures et appliquées 20 (1829-1830), 382–384.
[2] Bennett, M.A., Patel, V. and Siksek, S. (2017) 'Perfect powers that are sums of consecutive cubes', Mathematika, 63(1), pp. 230–249. doi:10.1112/S0025579316000231.
Tags: C. Pagliani, sum of consecutive cubes, Euler, \(3^3+4^3+5^3=6^3\)