keywords: Gauss, von Neumann, Tartaglia, Abel, polynomials, combinatorics, mathematical proof, number theory
Carl Gauss' Very Bad Day¶
Johann Carl Friedrich Gauss has been called the Princeps mathematicorum (Latin for "the foremost of mathematicians" and anagram of "Anarchic Meets Impromptu"). He made many contributions to mathematics and science, and the British mathematician Henry John Stephen Smith said of Gauss,
If we except the great name of Newton it is probable that no mathematicians of any age or country have ever surpassed Gauss in the combination of an abundant fertility of invention with an absolute rigorousness in demonstration, which the ancient Greeks themselves might have envied.
An apocryphal story of Gauss is that his teacher J.G. Büttner gave him detention for misbehaving in class, and told Gauss that he could go home when he'd added up all the numbers from 1 1 1 to 100 100 100. Gauss immediately said 5050 5050 5050, and went home. Much later, Gauss' picture appeared on the German 10-Deutche Mark note.
Johnny von Neumann's Train Wreck¶
A similar story about mathematician John von Neumann is that he was at a party one time when someone asked him to solve a train problem.
One train leaves New York heading toward Chicago and a second train leaves at the same time from Chicago for New York. (Stop me if you've heard this one before.) The distance between Chicago and New York is 800 800 800 miles and both trains travel at 100 mph 100 \; \text{mph} 100mph.
A very fast bee going 150 mph 150 \text{ mph} 150 mph takes off from the front of the NY to CHI train just as the train leaves the station (going 100 mph 100 \text{ mph} 100 mph) and flies until it reaches the CHI to NY train. At that moment, it turns around and returns to the first train.
This continues until the trains meet in the middle, and due to a switching error, they're both on the same track and the bee gets squished in the wreckage. The problem was to figure out the total distance the bee flew on its final, fateful journey. You need to account for the positions of each train when the bee arrives and turns around.
John von Neumann instantly answered "600 miles".
"Oh, you must have known the trick" the other person said.
"What trick?" von Neumann asked, "I just summed up all of the individual distances."
There are an infinite number of distances between the trains as they approach each other, each distance smaller than the previous one. Von Neumann had to add them all together, and it's a bit like Zeno's "Achilles and the Tortoise" paradox.
The trick is that since both trains are going 100 mph 100 \text{ mph} 100 mph and the distance is 800 800 800 miles, then when they crash into each other, they'll both have gone 400 400 400 miles, taking 4 4 4 hours. Since the bee flies at 150 mph 150 \text{ mph} 150 mph then its total distance would be 600 600 600 miles.
I won't try to explain how von Neumann added up an infinite number of distances in his head so quickly, but we can understand how Gauss solved his detention problem. Think of the numbers arranged in a line, and connect the 1 1 1 with 100 100 100, 2 2 2 with 99 99 99, 3 3 3 with 98 98 98, and so on.
Then the sum of 1 + 100 = 101 1 + 100 = 101 1+100=101, 2 + 99 = 101 2+99 = 101 2+99=101, 3 + 98 = 101 3 + 98 = 101 3+98=101, and the final pair is 50 + 51 = 101 50 + 51 = 101 50+51=101. Since there are 50 50 50 pairs of 101 101 101 then you can multiply 50 × 100 = 5000 50 \times 100 = 5000 50×100=5000 and add 50 50 50 to get the total 5050 5050 5050. You can check that the formula for the sum of the first n n n numbers is S = 1 2 n ( n + 1 ) S = \frac{1}{2}n(n+1) S=21n(n+1).
Doubling Down on Gauss¶
A somewhat more complicated version of Gauss' detention problem is this. Suppose you have n n n numbered tiles with numbers ranging from 1 , 2 , … , n 1,2, \ldots, n 1,2,…,n. Add up all possible pairs and you'll get either the total sum S 1 = 3 , 165 , 720 S_1 = 3,165,720 S1=3,165,720 or S 2 = 3 , 165 , 620 S_2 = 3,165,620 S2=3,165,620.
The question is, which is the correct total sum S 1 S_1 S1 or S 2 S_2 S2, and what is the value of n n n? Daniel Hardisky proposed this problem for the Classical Mathematics Facebook group.
Let's start with an easy case, n = 3 n=3 n=3. Then, we have to add the pairs together, ( 1 + 2 ) + ( 2 + 3 ) + ( 3 + 1 ) = 12 (1+2) + (2+3) + (3+1) = 12 (1+2)+(2+3)+(3+1)=12. Notice that each number appears twice, so we could have doubled 1 + 2 + 3 = 6 1+2+3 = 6 1+2+3=6.
Maybe it's just that easy. Let's try n = 4 n=4 n=4. If we combine sequentially, we get ( 1 + 2 ) + ( 2 + 3 ) + ( 3 + 4 ) + ( 4 + 1 ) = 20 (1+2) + (2+3) + (3+4)+(4+1) = 20 (1+2)+(2+3)+(3+4)+(4+1)=20, but we've left out ( 1 + 3 ) (1+3) (1+3) and ( 2 + 4 ) (2+4) (2+4) which increases the final sum to 30 30 30.
How many ways can we combine two numbered tiles in a pile of n n n tiles? This is a combinatorics problem and the answer is
N = ( n k ) = n ! ( n − k ) ! k ! N = \binom{n}{k} = \frac{n!}{(n-k)!k!} N=(kn)=(n−k)!k!n!where n ! = n ( n − 1 ) ( n − 2 ) ⋯ 3 ⋅ 2 ⋅ 1 n! = n(n-1)(n-2) \cdots 3 \cdot 2 \cdot 1 n!=n(n−1)(n−2)⋯3⋅2⋅1. For the case of choosing k = 2 k=2 k=2 different tiles at a time, this simplifies to
N = 1 2 n ( n − 1 ) . N = \frac{1}{2}n(n-1). N=21n(n−1).Scientific computer languages have built-in functions to calculate the number of combinations for different values of
n
n
n and
k
k
k, in Julia, it's binomial(n,2)
, in R, use choose(n,k)
, and Python calls scipy.special.comb(n, k)
.
Octave also calculates the binomial expansion with nchoosek(n,k)
, but has a feature not found in other languages - you can replace
n
n
n with a vector to show all of the possible combinations of
n
n
n numbers taken
k
k
k at a time. The notation 1:5
is a vector containing the first
5
5
5 integers, so we can have Octave return all of the combinations taken
2
2
2 at a time,
>> nchoosek(1:5,2)
ans =
1 2
1 3
1 4
1 5
2 3
2 4
2 5
3 4
3 5
4 5
Even better, if we add the numbers in each row, we get every possible pair sum, and then adding those sums gives the total.
>> sum(sum(nchoosek(1:5,2)))
ans = 60
Maybe we can arrange the numbers to be similar to the way Gauss did his sum. If we add up all possible pairs for n = 5 n=5 n=5, we can arrange them in descending order like this:
S = ( 5 + 4 ) + ( 5 + 3 ) + ( 5 + 2 ) + ( 5 + 1 ) + ( 4 + 3 ) + ( 4 + 2 ) + ( 4 + 1 ) + ( 3 + 2 ) + ( 3 + 1 ) + ( 2 + 1 ) . \begin{aligned} S = (5+4) + (5+3) + (5+2) &+ (5+1) \\ + (4+3) + (4+2) &+ (4+1) \\ + (3+2) &+ (3+1) \\ &+ (2+1). \end{aligned} S=(5+4)+(5+3)+(5+2)+(4+3)+(4+2)+(3+2)+(5+1)+(4+1)+(3+1)+(2+1).Notice the first line has four 5 5 5s and the sum 1 + 2 + 3 + 4 1+2+3+4 1+2+3+4. So, the top line is 4 × 5 + ( 1 + 2 + 3 + 4 ) = 20 + 10 = 30 4 \times 5 + (1+2+3+4) = 20 + 10 = 30 4×5+(1+2+3+4)=20+10=30. It's an easy multiplication followed by a sum using Gauss' trick. The next line is the same, but shorter, 4 × 3 + ( 1 + 2 + 3 ) = 12 + 6 = 18 4 \times 3 + (1+2+3) = 12 + 6 = 18 4×3+(1+2+3)=12+6=18.
For n n n numbers the sum becomes
S = ( n + ( n − 1 ) ) + ( n + ( n − 2 ) ) + ⋯ + ( n + 2 ) + ( n + 1 ) + ( ( n − 1 ) + ( n − 2 ) ) + ( ( n − 1 ) + ( n − 3 ) ) + ⋯ + ( ( n − 1 ) + 2 ) + ( ( n − 1 ) + 1 ) ⋮ + ( 5 + 4 ) + ( 5 + 3 ) + ( 5 + 2 ) + ( 5 + 1 ) + ( 4 + 3 ) + ( 4 + 2 ) + ( 4 + 1 ) + ( 3 + 2 ) + ( 3 + 1 ) + ( 2 + 1 ) . \begin{aligned} S = (n+(n-1)) + (n+(n-2))+ \cdots +(n+2) &+ (n+1) \\ + ((n-1)+(n-2)) + ((n-1)+(n-3))+ \cdots + ((n-1) + 2) &+ ((n-1)+1) \\ \vdots \\ + (5+4) + (5+3) + (5+2) &+ (5+1) \\ + (4+3) + (4+2) &+ (4+1) \\ + (3+2) &+ (3+1) \\ &+ (2+1). \\ \end{aligned} S=(n+(n−1))+(n+(n−2))+⋯+(n+2)+((n−1)+(n−2))+((n−1)+(n−3))+⋯+((n−1)+2)⋮+(5+4)+(5+3)+(5+2)+(4+3)+(4+2)+(3+2)+(n+1)+((n−1)+1)+(5+1)+(4+1)+(3+1)+(2+1).If we collect all of the individual n n n terms in the top two lines there are n − 1 n-1 n−1 of them, and then what's left is the sum of 1 + 2 + 3 + ⋯ + ( n − 1 ) 1+2+3 + \cdots + (n-1) 1+2+3+⋯+(n−1), which can be written as
n ( n − 1 ) + ∑ j = 1 n − 1 j = n ( n − 1 ) + 1 2 ( n − 1 ) n . n(n-1) + \sum_{j=1}^{n-1}j = n(n-1) + \frac{1}{2}(n-1)n. n(n−1)+j=1∑n−1j=n(n−1)+21(n−1)n.The total sum for all of the terms is
S = S ( n ) = ( n ⋅ ( n − 1 ) + ∑ j = 1 n − 1 j ) + ( ( n − 1 ) ⋅ ( n − 2 ) + ∑ j = 1 n − 2 j ) + ⋯ + ( 4 ⋅ 3 + ∑ j = 1 4 − 1 j ) + ( 3 ⋅ 2 + ∑ j = 1 3 − 1 j ) + ( 2 ⋅ 1 + ∑ j = 1 2 − 1 j ) . \begin{aligned} S = S(n) = \left( n \cdot (n-1) + \sum_{j=1}^{n-1}j \right) + \left( (n-1) \cdot (n-2) + \sum_{j=1}^{n-2}j \right) + \cdots \\ + \left( 4 \cdot 3 + \sum_{j=1}^{4-1}j \right) + \left( 3 \cdot 2 + \sum_{j=1}^{3-1}j \right) + \left( 2 \cdot 1 + \sum_{j=1}^{2-1}j \right). \end{aligned} S=S(n)=(n⋅(n−1)+j=1∑n−1j)+((n−1)⋅(n−2)+j=1∑n−2j)+⋯+(4⋅3+j=1∑4−1j)+(3⋅2+j=1∑3−1j)+(2⋅1+j=1∑2−1j).Now we can sum up all of the individual terms,
S ( n ) = ∑ k = 1 n − 1 ( k ( k + 1 ) + ∑ j = 1 k j ) . S(n) = \sum_{k=1}^{n-1}\left(k(k+1) + \sum_{j=1}^k j \right). S(n)=k=1∑n−1(k(k+1)+j=1∑kj).Since ∑ j = 1 k j = 1 2 k ( k + 1 ) \sum_{j=1}^k j = \frac{1}{2} k(k+1) ∑j=1kj=21k(k+1), this can be expressed as
S ( n ) = ∑ k = 1 n − 1 ( k ( k + 1 ) + 1 2 k ( k + 1 ) ) = 3 2 ∑ k = 1 n − 1 k ( k + 1 ) = 3 2 ∑ k = 1 n − 1 k 2 + 3 2 ∑ k = 1 n − 1 k = 3 2 ∑ k = 1 n − 1 k 2 + 3 2 ( 1 2 ( n − 1 ) n ) . \begin{aligned} S(n) &= \sum_{k=1}^{n-1}\left(k(k+1) + \frac{1}{2}k(k+1)\right) \\ &= \frac{3}{2}\sum_{k=1}^{n-1} k(k+1) \\ &= \frac{3}{2}\sum_{k=1}^{n-1} k^2 + \frac{3}{2}\sum_{k=1}^{n-1} k \\ &= \frac{3}{2}\sum_{k=1}^{n-1} k^2 + \frac{3}{2} \left( \frac{1}{2} (n-1)n \right). \end{aligned} S(n)=k=1∑n−1(k(k+1)+21k(k+1))=23k=1∑n−1k(k+1)=23k=1∑n−1k2+23k=1∑n−1k=23k=1∑n−1k2+23(21(n−1)n).Squared Pictures¶
This is a pretty compact formula for S ( n ) S(n) S(n), the sum of all possible pairs of the numbers from 1 1 1 to n n n. But, can we find a better way to express ∑ k = 1 n − 1 k 2 \sum_{k=1}^{n-1}k^2 ∑k=1n−1k2? The first five squares are 1 , 4 , 9 , 16 , 25 1,4,9,16,25 1,4,9,16,25, and the sums are 1 , 5 , 14 , 30 , 55 1,5,14,30,55 1,5,14,30,55.
Here's a neat visual proof from the Math and Multimedia website. Make a stack of the first n n n squares like this:
Next, make three copies of this stack,
and fit them together to make a cube, except the red stack will extend one layer above the green and yellow stacks.
If you slice the top layer of the red pyramid in half and flip it over, you can fill in the missing part:
which lets us calculate the total volume,
so we might expect the formula is
∑ k = 1 n k 2 = 1 3 n ( n + 1 ) ( n + 1 2 ) = 1 6 n ( n + 1 ) ( 2 n + 1 ) . \begin{aligned} \sum_{k=1}^n k^2 &= \frac{1}{3}n(n+1)(n+\frac{1}{2}) \\ &= \frac{1}{6}n(n+1)(2n+1). \end{aligned} k=1∑nk2=31n(n+1)(n+21)=61n(n+1)(2n+1).The Proof¶
Pictures are helpful, but they aren't considered mathematical proofs. There are many ways to construct a mathematical proof, but one that gets used frequently is called "Proof by Induction".
Suppose you have a formula you think is correct, and you check it for the case n = 1 n=1 n=1. If that holds, then show it holds for any n − 1 n-1 n−1, and add the n t h n^{th} nth term to see if the formula still holds. Let's make this a bit more formal.
Theorem: The sum of the first n n n squares is
∑ k = 1 n k 2 = 1 6 n ( n + 1 ) ( 2 n + 1 ) . \sum_{k=1}^{n} k^2 = \frac{1}{6}n(n+1)(2n+1). k=1∑nk2=61n(n+1)(2n+1).Proof: For n = 1 n=1 n=1,
1 2 = 1 = 1 6 ( 1 ) ( 1 + 2 ) ( 2 ⋅ 1 + 1 ) = 1 6 ( 1 ) ( 2 ) ( 3 ) = 1. 1^2 = 1 = \frac{1}{6}(1)(1+2)(2\cdot1+1) = \frac{1}{6}(1)(2)(3) = 1. 12=1=61(1)(1+2)(2⋅1+1)=61(1)(2)(3)=1.Assume the formula holds for the case n − 1 n-1 n−1,
∑ k = 1 n − 1 k 2 = 1 6 ( n − 1 ) ( n ) ( 2 ( n − 1 ) + 1 ) = 1 6 n ( n − 1 ) ( 2 n − 1 ) . \begin{aligned} \sum_{k=1}^{n-1} k^2 &= \frac{1}{6}(n-1)(n)(2(n-1)+1) \\ &= \frac{1}{6}n(n-1)(2n-1). \end{aligned} k=1∑n−1k2=61(n−1)(n)(2(n−1)+1)=61n(n−1)(2n−1).Then the sum of the first n n n squares is
∑ k = 1 n − 1 k 2 + n 2 = 1 6 n ( n − 1 ) ( 2 n − 1 ) + n 2 = 1 6 n ( 2 n 2 − 3 n + 1 ) + n 2 = 1 6 ( 2 n 3 − 3 n 2 + n ) + 1 6 ( 6 n 2 ) = 1 6 ( 2 n 3 + 3 n 2 + n ) = 1 6 n ( 2 n 2 + 3 n + 1 ) = 1 6 n ( n + 1 ) ( 2 n + 1 ) . ■ \begin{aligned} \sum_{k=1}^{n-1}k^2 + n^2 &= \frac{1}{6}n(n - 1)(2n-1) + n^2 \\ &= \frac{1}{6} n (2n^2 -3n + 1) + n^2 \\ &= \frac{1}{6} (2n^3 -3n^2 + n) + \frac{1}{6}(6n^2) \\ &= \frac{1}{6} (2n^3 +3n^2 + n) \\ &= \frac{1}{6} n(2n^2 + 3n + 1) \\ &= \frac{1}{6} n(n+1)(2n + 1). \; \blacksquare \\ \end{aligned} k=1∑n−1k2+n2=61n(n−1)(2n−1)+n2=61n(2n2−3n+1)+n2=61(2n3−3n2+n)+61(6n2)=61(2n3+3n2+n)=61n(2n2+3n+1)=61n(n+1)(2n+1).■The inductive part of this proof is that we didn't specify a value for n n n, so it can be any integer.
We showed the formula holds for n = 1 n=1 n=1 in the first part, so it must hold for n = 2 n=2 n=2 by the second part. Since it holds for n = 2 n=2 n=2, then it must also be true for n = 3 n=3 n=3 and so on.
The Formula Simplified¶
And now, we have a complete formula for the sum of all possible pairs of the first n n n numbers,
S ( n ) = 3 2 ( 1 6 n ( n − 1 ) ( 2 n − 1 ) + 1 2 n ( n − 1 ) ) = 3 2 ( 1 6 ( n 2 − n ) ( 2 n − 1 ) + 1 2 ( n 2 − n ) ) = 3 2 ( 1 6 ( 2 n 3 − 3 n 2 + n ) + 1 6 ( 3 n 2 − 3 n ) ) = 3 2 ( 1 6 ( 2 n 3 − 2 n ) ) = 1 2 ( n 3 − n ) . \begin{aligned} S(n) &= \frac{3}{2} \left( \frac{1}{6} n(n-1)(2n-1) + \frac{1}{2}n(n-1) \right) \\ &= \frac{3}{2} \left( \frac{1}{6} (n^2-n)(2n-1) + \frac{1}{2}(n^2-n) \right) \\ &= \frac{3}{2} \left( \frac{1}{6} (2n^3 -3n^2+n) + \frac{1}{6}(3n^2-3n) \right) \\ &= \frac{3}{2} \left( \frac{1}{6} (2n^3 - 2n) \right) \\ &= \frac{1}{2} (n^3 - n). \\ \end{aligned} S(n)=23(61n(n−1)(2n−1)+21n(n−1))=23(61(n2−n)(2n−1)+21(n2−n))=23(61(2n3−3n2+n)+61(3n2−3n))=23(61(2n3−2n))=21(n3−n).Tartaglia's Depression¶
Niccolò Fontana Tartaglia was a 1 6 t h 16^{th} 16th-century mathematician and engineer from Venice.
Tartaglia found a neat trick to convert a general cubic equation, a x 3 + b x 2 + c x + d ax^3 + bx^2 + cx + d ax3+bx2+cx+d into a simpler form where the x 2 x^2 x2 term disappears. By substituting x = y − b 3 a x = y - \frac{b}{3a} x=y−3ab, he got the "depressed cubic" y 3 + A y = B y^3 + Ay = B y3+Ay=B.
With a bit of rearrangement, we can get our sum into the depressed cubic form,
n 3 − n = 2 S , n^3 - n = 2S, n3−n=2S,where A = − 1 A = -1 A=−1 and B = 2 S B = 2S B=2S. In this form, the solution for n n n is n = s − t n = s - t n=s−t where
3 s t = A s 3 − t 3 = B . \begin{aligned} 3st &= A \\ s^3 - t^3 &= B. \end{aligned} 3sts3−t3=A=B.You can check this with a simple substitution. If we put t = − 1 3 s t = -\frac{1}{3s} t=−3s1 from the first equation into the second, we get
s 3 + 1 27 s 3 = 2 S s 6 − 2 S s 3 + 1 27 = 0. \begin{aligned} s^3+\frac{1}{27s^3} = 2S \\ s^6 - 2Ss^3 + \frac{1}{27} = 0. \end{aligned} s3+27s31=2Ss6−2Ss3+271=0.Substituting u = s 3 u=s^3 u=s3 gives the quadratic
u 2 − 2 S u + 1 27 = 0 u^2 - 2Su + \frac{1}{27} = 0 u2−2Su+271=0with solutions
u = 1 2 ( 2 S ± 4 S 2 + 4 27 ) = S ± S 2 + 1 27 . \begin{aligned} u &= \frac{1}{2}\left(2S \pm \sqrt{4S^2 + \frac{4}{27}}\right) \\ &= S \pm \sqrt{S^2 + \frac{1}{27}}. \end{aligned} u=21(2S±4S2+274)=S±S2+271.Then, s = u 3 s = \sqrt[3]{u} s=3u and n = s + 1 3 s n = s + \frac{1}{3s} n=s+3s1. Solving for S 1 = 3165720 S_1 = 3165720 S1=3165720 gives n 1 = 185 n_1 = 185 n1=185, while S 2 = 3165620 S_2 = 3165620 S2=3165620 gives n 2 = 184.99805 n_2 = 184.99805 n2=184.99805, so the first sum is the correct solution.
The Octave function depressedCubic.m calculates the solution for any depressed cubic in the form x 3 + A x = B x^3 + Ax = B x3+Ax=B.
Abel and the Terrible, Horrible, No Good, Very Bad Day¶
Niels Henrik Abel was a Norwegian mathematician who made many contributions to mathematics, and said of Gauss "He is like the fox, who effaces his tracks in the sand with his tail."
The Abel Prize, named in his honor is the mathematical equivalent of the Nobel Prize, and his picture appears on the Norwegian 500 kroner banknote.
One of Abel's great contributions to mathematics was his proof that there is no closed-form solution to the quintic equation,
a x 5 + b x 4 + c x 3 + d x + e = 0 , ax^5 + bx^4 + cx^3 + dx + e = 0, ax5+bx4+cx3+dx+e=0,which had been an open problem for 250 years. All in all, it was a great day for Abel, but a lousy day for anyone hoping to solve the equation directly, and we now know that no formula exists for the solution to fifth-order and higher polynomials.
Luckily, our problem involves only the quadratic formula and the solution to the depressed cubic.
The Schoolboy and the Fox: How Gauss Led Us to Modern Sum Theory¶
What started as a simple detention problem for young Gauss led us through a fascinating journey of mathematical discovery. We've seen how seemingly complex problems can often be simplified through clever visualization (like Gauss' pairing method), systematic analysis (as with our pair-sum formula), and historical mathematical innovations (like Tartaglia's depressed cubic).
The solution to our original question - finding which sum ( S 1 = 3 , 165 , 720 S_1=3,165,720 S1=3,165,720 or S 2 = 3 , 165 , 620 S_2 = 3,165,620 S2=3,165,620) is correct for the sum of all possible pairs of numbers from 1 1 1 to n n n - turned out to be S 1 S_1 S1 with n = 185 n = 185 n=185. More importantly, we discovered how to solve this type of problem generally through the formula S ( n ) = 1 2 ( n 3 − n ) . S(n) = \frac{1}{2}(n^3 - n). S(n)=21(n3−n).
For the mathematically adventurous, this exploration opens doors to more complex combinations, though as Abel proved, we'll need to be careful about expecting neat solutions for higher-order polynomials. After all, mathematics, like the fox Gauss was compared to, often leaves fascinating trails for us to follow - even if some lead to mathematical dead ends.
If you're feeling adventurous, you could try finding a formula for the sum of all possible combinations of the first n n n integers taken three at a time, four at a time, and so on. Of course, if you take them n n n at a time, you're back to the beginning and the sum is 1 2 n ( n + 1 ) \frac{1}{2}n(n+1) 21n(n+1).
Image credits¶
- Hero: 10 DM Serie4 Vorderseite, Wikipedia.
- Carl Friedrich Gauss: Carl Friedrich Gauss 1840 by Jensen, Wikimedia Commons.
- John von Neumann: Von Neumann’s computer. George Dyson, Physics World, Dec. 06, 2012.
- Nicolo Tartaglia: Niccolò Tartaglia Quesiti et inventioni diverse, Wikimedia Commons.
- Niels Henrik Abel: Niels Henrik Abel, Academic Dictionaries and Encyclopedias.
Code and Software¶
depressedCubic.m - Solves the depressed cubic equation x^3 + Ax + B = 0 in Octave.
- Julia - The Julia Project as a whole is about bringing usable, scalable technical computing to a greater audience: allowing scientists and researchers to use computation more rapidly and effectively; letting businesses do harder and more interesting analyses more easily and cheaply.
- Octave - GNU Octave is a high-level language, primarily intended for numerical computations. It provides a convenient command line interface for solving linear and nonlinear problems numerically, and for performing other numerical experiments using a language that is mostly compatible with Matlab.
- Python - Python is an interpreted, high-level and general-purpose programming language.
References and further reading¶
- Zeno’s Paradoxes – Wikipedia.
- Discusses Zeno’s paradoxes, including Achilles and the Tortoise, which relate to the infinite sums discussed in the article.
- Von Neumann’s Computer – George Dyson, Physics World, 06 Dec 2012.
- Provides historical context on John von Neumann’s contributions to mathematics and computing.
- Combinations and the Binomial Theorem – Cuemath.
- Explains how to calculate combinations and their relevance to combinatorics.
- The Abel Prize – Wikipedia.
- Provides an overview of the Abel Prize, named after Niels Henrik Abel, who made significant contributions to mathematics.
- Sum of Squares Formula Proof – Math and Multimedia.
- A visual proof of the sum of squares formula, which is key to understanding the sum of pairwise sums.
- Niccolò Tartaglia’s Mathematical Contributions – Wikimedia Commons.
- Covers Tartaglia’s work on cubic equations and their historical impact.
- Niels Henrik Abel’s Life and Work – Academic Dictionaries and Encyclopedias.
- Provides biographical details on Abel and his proof that quintic equations have no general solution.
- Carl Friedrich Gauss Biography – Wikimedia Commons.
- Covers Gauss' contributions to mathematics, including his famous summation trick.
- The Depressed Cubic Equation – GitHub.
- A script that solves the depressed cubic equation, as discussed in the article.
- Julia Programming Language – The Julia Project.
- Describes Julia, a programming language used for scientific computing.
- GNU Octave – GNU Project.
- Documentation on Octave, a scientific computing environment used for numerical computations.
- Anaconda Python Distribution – Anaconda.
- Explains the Python programming distribution used for numerical and scientific computing.
- Facebook: Classical Mathematics Group – Facebook.
- A mathematics discussion group where the tile-sum problem was proposed.
📬 Subscribe and stay in the loop. · Email · GitHub · Forum · Facebook
© 2020 – 2025 Jan De Wilde & John Peach