Computational Experiments on $a^4+b^4+c^4+d^4=(a+b+c+d)^4$
Allan J. MacLeod

TL;DR
This paper explores computational methods to find non-trivial integer solutions to the equation a^4 + b^4 + c^4 + d^4 = (a + b + c + d)^4, summarizing past efforts and presenting new solutions.
Contribution
It introduces new computational techniques and reports novel solutions to a classical Diophantine equation, expanding the known solution set.
Findings
New integer solutions discovered for the equation.
Summary of previous computational approaches.
Enhanced algorithms for solving high-degree Diophantine equations.
Abstract
Computational approaches to finding non-trivial integer solutions of the equation in the title are discussed. We summarize previous work and provide several new solutions.
| t | a | b | c | d |
|---|---|---|---|---|
| 193/18 | 27385 | 48150 | 7590 | -31764 |
| 511/450 | -2634 | 955 | 5400 | 1770 |
| 619/450 | 27385 | -31764 | 48150 | 7590 |
| 1651/126 | 955 | 5400 | 1770 | -2634 |
| 1141/666 | 7590 | 27385 | 48150 | -31764 |
| 2041/150 | -1229559 | -1984340 | 1022230 | 107110 |
| 1423/1098 | 955 | 1770 | 5400 | -2634 |
| t | a | b | c | d |
| 31/6 | 53902630 | 2542025 | 35847220 | -34122866 |
| 157/150 | -841263 | 792940 | 44410 | -3852350 |
| 181/150 | -460945405 | 189854902 | 732896170 | 303742360 |
| t | a | b | c | d |
|---|---|---|---|---|
| 121/96 | -889698809680 | 687020381505 | 259448373800 | 1526478290216 |
| 121/96 | 22424373335225 | 222795507072280 | -237321095011880 | 558974521862416 |
| 181/150 | 802797814305 | -626137906588 | -150723250810 | 1751113229630 |
| 181/150 | 35966749745415 | -360346958398438 | 530920858665230 | 377970149282480 |
| 181/150 | 189854902 | -460945405 | 732896170 | 303742360 |
| 211/150 | 1229559 | -1022230 | 1984340 | -107110 |
| 211/150 | 561760 | 1493309 | 3597130 | -1953890 |
| 373/150 | -7929822455879583 | 10830318289720550 | 9309384955649330 | 392431543415120 |
| 373/150 | 50627178820 | 1357751663 | 55867457830 | -41572821650 |
| 709/450 | 1297734853 | -1510410870 | 500764020 | 1768211850 |
| 709/450 | 558360120 | -701876813 | 753684930 | 294589950 |
| 3073/450 | 210240721 | 396470430 | -336869940 | 178944510 |
| 2851/1626 | -2434795 | 1945570 | 1483582 | 1858600 |
| 2977/2502 | 719130355 | -2889516060 | 4672341330 | 2405612802 |
| t | a | b | c | d |
|---|---|---|---|---|
| 499/474 | 3868630767650 | 895775733285 | 21271390911326 | -4745425061560 |
| 511/150 | -6714317914 | 994485789915 | -698106854980 | 864417463190 |
| 3163/1350 | -16515508578 | 10824551825 | -15627586290 | 1711841340 |
| 18913/438 | 123140611690 | 446604426005 | -96985017746 | -25263498320 |
| t | Estimated rank |
|---|---|
| 31/6 | 2 |
| 49/24 | 2 |
| 67/42 | 1 or 3 |
| 79/54 | 2 |
| 97/72 | 2 or 4 |
| 103/78 | 2 or 4 |
| 193/18 | 1 or 3 |
| i | |
|---|---|
| 1 | 2984/25 |
| 2 | 165858034880079528468553/154606810823279404439062500 |
| 3 | 29529243840780598196578176/60686911309473227566225 |
| 4 | 184247616563459246903349991070216/16933216732179015462369769140625 |
| t | a | b | c | d |
|---|---|---|---|---|
| 1213/438 | 106185491830 | 80795489585 | 146163232960 | -149806955726 |
| 1963/150 | 662971279500154 | 309770790508565 | 85290604949260 | -371936154165950 |
| 1651/126 | 115711769730 | 58931380645 | 10424211666 | -64829623500 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCoding theory and cryptography · Polynomial and algebraic computation · Advanced Mathematical Theories
Computational Experiments on
Allan J. MacLeod
Statistics, O.R. and Mathematics Group (Retired)
University of the West of Scotland,
High St., Paisley,
Scotland. PA1 2BE
(e-mail: [email protected])
Abstract
Computational approaches to finding non-trivial integer solutions of the equation in the title are discussed. We summarize previous work and provide several new solutions.
1 Introduction
The Diophantine equation
[TABLE]
was discussed by Jacobi and Madden in [3], and has become known as the Jacobi-Madden equation. They considered , but it is clear that the homogeneity of (1.1) means that we can consider rational values without loss of generality.
We have to assume at least three of the values are non-zero, because of Fermat’s Last Theorem. We, also, cannot have all of the same parity, so there must be a mixture of positive and negative values.
The method used by Jacobi and Madden is based on the following simple, but remarkable, identity:
[TABLE]
(1.1) can be written
[TABLE]
and, using (1.2), we have
[TABLE]
if we ignore the common factor of .
Let , and , giving
[TABLE]
so that
[TABLE]
where we will have . In fact, we have
Lemma: for a non-trivial solution.
Proof: Each of is a variant of the basic quadratic form .
Defining gives which is only zero when . Thus , giving the result.
The first relation leads to the quadratic identity
[TABLE]
which we can write in matrix-vector form as
[TABLE]
where we have doubled the coefficients in the quadratic form to avoid fractions in the matrix. Call the matrix .
The relation can be written, in a similar way, as
[TABLE]
and we call this matrix .
Thus, the Jacobi-Madden problem reduces to finding a non-zero rational vector , with at least non-zero rational elements and a non-zero rational such that
[TABLE]
From we find
[TABLE]
which shows that a solution gives the same value of as , and . There are permutations of a solution , which are also solutions of the original problem, so they come in groups of giving different possible t-values.
For example, the solution found by Brudno , which is used by Jacobi and Madden, leads to the t-values , , , , and . Note that for then , and the other t-values also form pairs. In fact, we have
Lemma: Given a non-trivial solution of (1.1), with given by (1.6), then
[TABLE]
the proof of which just involves a large amount of standard algebra, preferably done by a symbolic algebra package. Thus, we can assume that, if with and , that and have opposite parities.
The present report discusses methods to compute other solutions, usually bigger in size. Since this problem could be of interest to amateurs, I have tried to make the presentation as simple as possible.
2 Quadric Intersection
The first method is to use (1.3) and (1.4) directly. The intersection of two -variable quadrics is fundamental to the method of -descent, used to find rational points on elliptic curves, see Merriman, Siksek and Smart [4] or the Ph.D. thesis of Womack [10].
Mark Watkins of the Magma group in Sydney has an excellent preprint on the computational solution of such problems [9]. I have used a Pari-GP version of this method for several years to compute points on hundreds of elliptic curves.
Applying this code using a fairly moderate search limit, with and , gives the solutions in Table .
There are only essentially different solutions in this Table. Increasing the search region but restricting to finds the extra solutions in Table .
The main problem with this method is that we do not know which values of to consider, so we start off by trying them all. As we increase the search region, however, we need to restrict the choice of .
We can reduce this by considering a change of variables used by Jacobi and Madden.
Let
[TABLE]
and call the matrix in this transformation , so that (1.5) become
[TABLE]
where .
Define and so that
[TABLE]
Finally, define giving
[TABLE]
so that we have that the quadric
[TABLE]
must hold.
This clearly implies that . We can also use the Qfsolve code from Denis Simon’s ellrank package [7] to find out whether this quadric has a rational solution for a specified value of , rejecting those which have no solution.
3 Quartic Equation
In this section, we provide an alternative method of solution which also allows us to restrict greatly the values of to be considered in lengthy computation. This was described by Tito Piezas III [5] in a submission to the mathoverflow web-site, where it elicited a very interesting response from Jeremy Rouse.
Let
[TABLE]
with the matrix in this transformation called , thus (1.5) becomes
[TABLE]
Define and so that
[TABLE]
Next, define and giving
[TABLE]
and
[TABLE]
In variable forms, we now have the quadrics
[TABLE]
[TABLE]
If we can find, for a given , a solution to the first equation, we can parameterize using the standard method. Simon’s Qfsolve program tells us if the quadratic form is soluble and finds a solution, if possible. This, then, becomes part of the sieving process for suitable .
Let and so the first quadric is
[TABLE]
with solution and .
Then the line will meet the quadric at one further point
[TABLE]
giving
[TABLE]
Take the numerator for and the denominator for , and substitute into
[TABLE]
and we have the quartic
[TABLE]
where
[TABLE]
[TABLE]
[TABLE]
[TABLE]
and
[TABLE]
[TABLE]
The quartic (3.9) can be tested for local solubility - Simon includes Pari-GP code in ellrank - and those which are not everywhere locally soluble can be rejected. It is also perfectly possible to reverse the order in which the quadrics are considered. The smallest (in terms of ) t-values which give everywhere soluble quartics are .
Using the quartic method (or something very similar), Seiji Tomita [8] found the following solutions.
Studying the values of for the solutions, found so far, suggests the following
Conjecture: Let with and and of opposite parities. If a solution exists, we will have or , where . In the latter case we have .
I cannot believe I am the first person to think this! Can anyone prove or disprove this?
Using Simon’s Qfsolve and Qfparam procedures, we can generate a multitude of quartics. I found that it was best to apply Cremona’s minimization and reduction methods [2] to these quartics before searching for a point. With these methods, and a large amount of computation the following new solutions were found.
4 Elliptic Curve
Both the 4-descent and quartic methods have an underlying elliptic curve behind the problem. To find this curve, we use the fact, from Merriman et al [4], that a solution to (1.3) and (1.4) gives a point on the curve
[TABLE]
which can be given as
[TABLE]
[TABLE]
It is a standard fact, see chapter of Cremona [1], that a quartic with a rational point, is related to the elliptic curve
[TABLE]
where and are the invariants of the quartic. The fundamental link is that rational on (4.1) gets mapped to a rational point with on (4.2), where is the quartic covariant of (4.1), and is given by (4.1).
We find
[TABLE]
and
[TABLE]
with .
Experiments with the right-hand-side of (4.2) suggested it always factored, and it was reasonably straightforward to find that gave . Defining , and then and gives the fairly simple form
[TABLE]
Exactly the same elliptic curve comes from the quartic (3.9) in the previous section. All the terms eventually vanish!
The elliptic curve has discriminant
[TABLE]
so if and otherwise. If the elliptic curve has one infinite component, whilst, if , there is also a finite bounded component. The curve is singular, for rational , only for or , but we saw in section that these values do not give solutions.
There is a clear rational point which is of order . Numerical experiments suggest this is the only finite torsion point, but there might well be specific values of giving extra torsion points.
These numerical experiments also suggested that the curve always has rank at least one. Results from ellrank indicated that gave a point, and it is easy to check that this gives . If we double this point we find a point where .
Using ellrank and the Parity Conjecture, we find the ranks of the smallest t-values are given in Table .
where we already have solutions for and .
The basic fact about the rational points on an elliptic curve, over , is that the points are finitely generated. Thus, there exists a set of rational points such that any rational point is such that
[TABLE]
where and is a torsion point. is the rank of the elliptic curve and we assume with .
The elliptic curves (4.5) and (4.2) can be easily transformed to one another. We have
[TABLE]
Notice the direction of the relation of point on quartic to point on elliptic curve. We DO NOT get a point on the quartic from every point on the elliptic curve. In fact, I have never found a solution from or with or without adding . I wonder if there is a simple proof of this? My attempts get bogged down in lots of variables.
Finding generators of elliptic curves is a highly non-trivial task. In fact, there is no known method guaranteed to work. I initially used Magma’s TwoDescent and RationalPoints procedures. Attempts to use Magma’s FourDescent, for large number of t-values, foundered as the computations take a long time, admittedly on a not-very-fast machine. In March 2017, Pari introduced the procedure hyperellratpoints which is an implementation of Michael Stoll’s ratpoints. This meant that I could use Pari for all the computations.
Given a set of generators, not necessarily of full rank, using (4.7) and the restriction , I generated points on (4.5). Then, I used Pari to factor
[TABLE]
to find a value of on (4.1) or other possible quartics.
For most acceptable t-values, we just find a single generator . For a few, we find a second generator, which may (or may not) lead to a solution of (1.1). For , we find generators with u-coordinates in the following Table.
Experiments show that the third generator must be included to give a solution of (1.1), so . The numerical data all seem to suggest that solutions to (1.1) all depend on one particular generator being present in the expansion for a rational point.
This elliptic curve approach has found the following new reasonable-sized solutions
For those values of given in Table without a solution, we looked at each value individually. For , the Birch and Swinnerton-Dyer conjecture gives an estimate of the height of the other generator to be in the low hundreds, but within the computational capabilities of my own software. By using the 2-isogenous curve, I found the second generator which gives the following rather large solution
[TABLE]
[TABLE]
[TABLE]
[TABLE]
For , the 2-isogenous curve led nowhere, but the original curve finally gave up a second generator leading to
[TABLE]
[TABLE]
It is doubtful if these solutions could be found using either the quadric intersection or quartic-point methods.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J.E. Cremona, Algorithms for Modular Elliptic Curves , Cambridge University Press, 1997.
- 2[2] J.E. Cremona, Reduction of binary cubic and quartic forms , LMS J. Comp. Math., 2 (1999) 62-92.
- 3[3] L.W. Jacobi and D.J. Madden, On a 4 + b 4 + c 4 + d 4 = ( a + b + c + d ) 4 superscript 𝑎 4 superscript 𝑏 4 superscript 𝑐 4 superscript 𝑑 4 superscript 𝑎 𝑏 𝑐 𝑑 4 a^{4}+b^{4}+c^{4}+d^{4}=(a+b+c+d)^{4} , Amer. Math. Monthly, 115 (2008) 220-236.
- 4[4] J.R. Merriman, S. Siksek and N.P. Smart, Explicit 4-descents on an elliptic curve , Acta Arith. LXXVII , (1996) 385-403.
- 5[5] T. Piezas III, More elliptic curves for a 4 + b 4 + c 4 + d 4 = ( a + b + c + d ) 4 ? superscript 𝑎 4 superscript 𝑏 4 superscript 𝑐 4 superscript 𝑑 4 superscript 𝑎 𝑏 𝑐 𝑑 4 ? a^{4}+b^{4}+c^{4}+d^{4}=(a+b+c+d)^{4}? , Question 191316 191316 191316 on mathoverflow.net with question asked December 22 22 22 , 2014 2014 2014 .
- 6[6] J.H. Silverman and J. Tate, Rational Points on Elliptic Curves , Springer-Verlag, New York, 1992.
- 7[7] D. Simon, Computing the rank of elliptic curves over number fields , LMS JCM, 5 (2002) 7-17.
- 8[8] S. Tomita, Computational Number Theory , web-site at http://www.maroon.dti.ne.jp/fermat/eindex.html . Contributions 91 91 91 , 181 181 181 and 182 182 182 .
