From Pythagorean Runs to Cubic Runs

This post is based on my own research on cubic runs, written up in a paper currently under review at The College Mathematics Journal.

The familiar identity

32 + 42 = 52

can be viewed as an equality between two consecutive runs of squares. Surprisingly, this is the first member of a simple infinite family.

Pythagorean runs

This classical family is known as Pythagorean runs. For every positive integer K, consider

∑ j=0 K ( A+j ) 2 = ∑ j=K+1 2K ( A+j ) 2 .

Thus the first K+1 consecutive squares have the same sum as the next K consecutive squares.

There is exactly one positive value of A for each K:

A = K ( 2K+1 ) .

To see this, move the right-hand side to the left and simplify. The difference factors as

∑ j=0 K ( A+j ) 2 − ∑ j=K+1 2K ( A+j ) 2 = ( A+K ) ( A − K ( 2K+1 ) ) .

Since A>0, the factor A+K cannot vanish. Therefore

A = K ( 2K+1 ) .

So there is a Pythagorean run for every K.

The first few are

32 + 42 = 52 , 102 + 112 + 122 = 132 + 142 ,

and

212 + 222 + 232 + 242 = 252 + 262 + 272 .

Checking the sums confirms the pattern. Each run starts at A=K(2K+1):

K Pythagorean run Each side equals
1 32+42=52 25
2 102+112+122=132+142 365
3 212+222+232+242=252+262+272 2,030
4 362+372+382+392+402=412+422+432+442 7,230

This naturally raises another question:

What happens if squares are replaced by cubes?

Looking for cubic runs

The most direct analogue is to look for two runs of consecutive cubes having the same sum. In other words, this is the case d=1, where the terms on the right also differ by 1.

A computer search found no nontrivial examples. This does not prove that none exist, but it suggests looking at the next possibility.

For d=2, we compare 2m consecutive cubes with m later cubes whose indices differ by 2:

∑ j=0 2m−1 ( A+j ) 3 = ∑ j=0 m−1 ( B+2j ) 3 , B > A + 2m − 1 .

A computer search produced the remarkable example

∑ j=0 175 ( 705+j ) 3 = ∑ j=0 87 ( 913+2j ) 3 .

Written out, this is

7053 + 7063 + ⋯ + 8803 = 9133 + 9153 + ⋯ + 10873 .

Both sides equal

88681384000 .

Here

( m,A,B ) = ( 88,705,913 ) .

At first, such a large numerical identity looks like something that might have occurred by accident. But it is actually the beginning of a much deeper pattern.

A Pell equation appears

Introduce the centered variables

X = 2A + 2m − 1 , Y = B + m − 1 .

For the example above,

X=1585 , Y=1000 ,

so

X:Y = 317:200 .

We therefore set

X=317z , Y=200z .

Substitution into the cubic-run equation and simplification lead to

48329 z2 − 156 m2 = 161 .

This is a generalized Pell equation.

Our first cubic run corresponds to

(z,m) = (5,88),

since

48329·52 − 156·882 =161.

Why Does This Produce Infinitely Many Cubic Runs?

The Pell equation provides a way to generate infinitely many solutions. However, we must also verify that these solutions produce positive integers in the required order.

The original variables can be recovered from

A= 317z− 2m+1 2 , B= 200z− m+1.

To generate further solutions, let

u=2047435741791027199, v=745665546122880.

These integers satisfy

u2 − 48329·156 v2 =1.

Starting with ( z0, m0 ) = (5,88) , define

z n+1 = uzn + 156vmn, m n+1 = 48329vzn + umn.

Substitution shows that this recurrence preserves the Pell equation

48329z2 − 156m2 =161.

Because u is odd and v is even, the recurrence preserves the property that z is odd and m is even. Therefore A and B remain integers.

All coefficients in the recurrence are positive, so the resulting sequences are positive and strictly increasing.

It remains to verify the ordering of the two runs. The Pell equation gives

mz < 48329156 < 834 .

Also,

B− (A+ 2m−1) = 83z− 4m+3 2 >0.

Thus the two runs remain correctly ordered and do not overlap. Moreover, the same bound ensures that A and B are positive.

Consequently, every solution generated by the recurrence produces a valid ordered cubic run. Since the solutions are strictly increasing, this gives infinitely many distinct cubic runs.

The importance of the Pell equation is that one solution need not stand alone. Pell equations can generate further integer solutions, and in this case they produce infinitely many cubic runs.

Thus the huge identity found by computer search is not an isolated numerical curiosity. It belongs to an infinite Diophantine family.

The next cubic run

The next ordered solution is already enormous:

m = 12005615252944088 ,

with

A = 96105931914993680

and

B = 124412740794926913 .

Therefore the next run can be written as

S = ∑ j=0 24011230505888175 ( 96105931914993680 + j ) 3 , S = ∑ j=0 12005615252944087 ( 124412740794926913 + 2j ) 3 .

The final cube on the right has index

148423971300815087 .

The enormous jump from m=88 to

m = 12005615252944088

helps explain why these identities are so difficult to discover by direct search.

The computer found the first example.

The Pell equation explains why there are infinitely many more.

Reference

Michael Boardman, “Proof Without Words: Pythagorean Runs,” Mathematics Magazine, Vol. 73, No. 1 (2000), p. 59.

See also the corresponding sequence and additional historical references in OEIS A059255.

Explore More: Why Are 1, 2, 4, and 8 Special?

Pythagorean triples are closely connected to sums of two squares. But a remarkable mathematical discovery takes this idea much further: special multiplication identities exist for sums of 1, 2, 4, and 8 squares. Why exactly these four numbers?

Explore the answer in Why Are 1, 2, 4, and 8 Special? The Mathematics of Sums of Squares.

Pythagorean runs begin with the most famous right triangle. For more on where right triangles with whole-number sides come from, read How to Generate Infinitely Many Pythagorean Triples Using Complex Numbers and The Hidden Mathematics of Right Triangles: Sides, Area, and Perimeter.

Leave a Reply

Your email address will not be published. Required fields are marked *