**Introduction**

In our part of the world, someone with even a nominal knowledge of mathematics might be aware of the taxicab number made famous by the conversation of Ramanujan and Hardy: the smallest number that can be expressed as the sum of two distinct pairs positive cubes: . This number is just one of a family of such taxicab numbers with deep connections to other objects in the mathematical world that were discovered by Ramanujan long before anyone knew of their significance. There are several other interesting questions, which, in a similar vein, relate to the sum and difference of cubes. From Fermat’s last theorem we know that the indeterminate equation cannot have any non-trivial integer solutions (non-trivial being where none of the solutions are 0). However, this still leaves open other possibilities with sums of 3 cubes and differences of the cubes and the like. For example, one popular and widely investigated one asks which integers can be expressed as a sum of any three cubes. When we learned that Fermat’s last theorem precludes integer solutions for in our early youth, we wondered if there are non-trivial positive integer solutions indeterminate equation: . Soon we became interested and investigated one specific version of it of the form:

, where ; thus, we have

This led us to discovering and proving for ourselves a simple arithmetic theorem concerning such cubes. Later, we read to our amazement that a related problem had been considered on a Japanese temple tablet in a beautiful “mystical”-sounding verse and solved in a commentary on it. This inspired us to look at the problem again and we discovered further interesting links between conics and these cubes. We detail these explorations and the Japanese temple tablet below.

**The difference of consecutive cubes and an arithmetic theorem**

We first asked when does the difference of consecutive cubes result in a sum of two cubes. This idea came to us as a parallel to the bhujā-koṭi-karṇa triples. While we have 4 cubes in , given that two are consecutive, we only have a triple of distinct positive integers bearing the relationship:

Thus, we have to search for the all the cases where evaluates to an integer given dyads of positive integers . If we order the resultant triples such that we get a unique set of triples, e.g. 1, 6, 8: . Figure 1 shows a plot of for all , a total of 1173 triples.

The plot initially reminds one of a first time observer of the sky with a great mass of stellar points with some vague patterns among them. Given that is dependent on and the points lie on a single curved surface in 3D, we can reduce dimensions for simplicity and plot just (Figure 2).

As we have ordered our triples all points obviously lie above the line. We then notice the first clear pattern. There are set of regularly arranged points (in red in Figure 2) that mark the left margin of the plot. These points lead us to the following theorem:

**The cube of every positive integer is equal to the difference of the cubes of two consecutive positive integers minus the cube a third positive integer.**

To prove this let us consider those regularly arranged points. The first few of them are tabulated below:

x | y |
---|---|

1 | 6 |

2 | 17 |

3 | 34 |

4 | 57 |

5 | 86 |

6 | 121 |

We observe that the values of these points include each positive integer in order. The corresponding grows rapidly and follows a peculiar pattern. This pattern is represented by the numbers lying on the 5th spoke hexagonal spiral (Figure 3) where 6 spokes separated by the rotation angle of radians pass through the origin.

Figure 3.

The numbers lying on the 5th spoke of this spiral can be represented by the formula: . Thus, we have and the corresponding . Hence,

If we write , the right hand side of becomes

, where

Thus, this theorem illustrates one deep connection between the cubes of numbers the hexagonal number spiral.

**The Japanese temple tablet**

The Samurai intellectual Shiraishi Chochu recorded a problem inscribed in tablet hung at a temple in the 1800s by the poorly known mathematician Gokai Ampon:

*“There are three integral numbers, heaven, earth, and man, which being cubed and added together give a result of which the cube root has no decimal part. Required to find the numbers.”* – translation from Smith and Mikami

In essence, Gokai Ampon wants us to find integer solutions to indeterminate equation , which is the same question that had originally prompted our quest. His solutions recorded by Shiraishi Chochu are a particular class of solutions to , i.e. the sum of the cubes of two positive integer being the difference of the cubes of consecutive positive integers.

If we look at Figure 2, we find that among the mass of points with apparently no discernible order there are a group of regularly arranged points coming in pairs with the same value and lying on a slim parabola (colored purple). It was this group of points that caught Gokai Ampon’s attention. The first few of the pairs are listed below:

x | y_{1} |
y_{2} |
---|---|---|

3 | 4 | 10 |

12 | 19 | 31 |

27 | 46 | 64 |

48 | 85 | 109 |

75 | 136 | 166 |

108 | 199 | 235 |

We observe that for these points takes the form . For we get a fit with and for with . Thus, with we have:

By writing and plugging it in we get , which is a family of valid solutions to the Japanese problem. Given that we are only considering positive integers, the final parameterization will be . Similarly, with we get:

By plugging in we get , the second valid family of valid solutions to the Japanese problem.

One can see that these two solutions are lattice points on a parabola whose parametric equation is . Thus, both our solution which covers the cubes of every positive integer and the Japanese solutions are 2 distinct parameterized families corresponding to parabolas in the plane.

**The elliptical families**

When we learned of the Japanese solutions, we wondered if there might be any other families of solutions hidden within the apparent disorder of the total set of all solutions. Returning to the plot, we noted that several points lie on arcs of increasing size (shown as orange and pink points in Figure 2). Examining these, we discovered that they are integer points lying on pairs of related ellipses of eccentricity that have equations of the form:

Where the 3 parameters are defined by:

The lattice points of are solutions to and emerge at special values of . First few values of and the number of solutions they yield on the 2 corresponding ellipses are shown in Figure 4 and Table 1.

Table 1

The ellipses first corresponding to the few values of that yield solutions numbering are show in Figure 5. Not all values of are equally rich in terms of solutions for . The integers (1, 2, 3…), thirds i.e. consistently yield solutions but the integers tend to be clearly richer than the thirds (Figure 4). Other than integers, certain irrational values of the form are particularly rich in solutions. Other than those, and certain values of the form are also rich in solutions. Thus, are integers for all , yielding solutions lying on ellipses. However, it remains unclear if there is a general rule to determine which of the quadratic surds that take the above forms will be that yield solutions for . In any case the given that integer yield solutions for that lie on defined ellipses the family of such elliptical solutions is infinite.

Finally, we may note one special feature of the family of elliptical solutions that are specifically associated with the integer values of . Given that the solutions define a simple curved surface (Figure 1), i.e. the surface does not show any folding, there can utmost be 2 pairs of that yield the same . There are 29 which can be derived from 2 distinct pairs of . For example: . Thus, (9, 58) and (22, 57) form a pair that yield the same . The majority of such pairs of solutions with the same lie on the ellipses arising from integer . Further, each such ellipse contains a pair whose whose values are respectively defined by . The corresponding values can be obtained by plugging into the second ellipse and into the first ellipse in ). Thus we get ; thus, for these cases . These pairs are shown below for .

Thus, these paired values define an infinite family by themselves lying on in the curves defined by the below parametric equations (Figure 5, blue curve):

There are a minority of pairs which lie outside of the ellipses. We do not know as yet if they define any other families of solutions. More generally, it is also not clear if there are any other families of solutions beyond the above parabolic and elliptical families.

**Sum of cubes of 2 positive integers that equal the difference of cubes successive same-parity positive integers**

In this final section we shall briefly consider a related indeterminate equation:

One can see right away that some of the regular families of solutions of are related to those of . The first relates to the above theorem regarding the cubes of every positive integer. In this case the equivalent is:

**The cube of every positive even number is equal to the difference of the cubes of two consecutive even numbers minus the cube of another even number.**

These correspond to the solutions to of the form (Figure 6, violet curve). Further, the equivalents of the solutions to Gokai Ampon’s points in this case lie on the parabola defined by the parametric equation: (Figure 6, purple curve). However, the solutions to feature a unique parabolic family of solutions with no equivalent among the solutions of . These lie on the parabola defined by the parametric equation: (Figure 6, orange curve). These correspond to such as:

(3, 5); (11, 15) (25, 31) (45, 53)… Thus, and provide another link to the hexagonal number spiral as they correspond to numbers that respectively lie on its 2nd and 4th spoke (Figure 3). With this in hand, we can show that for these give rise to , which defines the sequence: **4, 27, 86, 199, 384, 659, 1042…**

As with the solutions to , here too we have the equivalent elliptical families corresponding to the integer lattice points on ellipses of eccentricity that have equations of the form:

Here the 3 parameters are defined by:

However, the which yield elliptical solutions for are the same as those that yield solutions for and there is an equivalence in the corresponding solutions. Figure 6 shows a few elliptical solutions .

In conclusion, this exploration reveals connections between a certain class of cubic indeterminate equations and families of solutions defined by particular parabolas and ellipses. It is not known to us if any one previously studied these elliptical families or reported any other families beyond those considered here.

Figure 6