After cracking the “sum of cubes” puzzle for 42, mathematicians discover a new solution for 3 (2024)

What do you do after solving the answer to life, the universe, and everything? If you’re mathematicians Drew Sutherland and Andy Booker, you go for the harder problem.

In 2019, Booker, at the University of Bristol, and Sutherland, principal research scientist at MIT, were the first to find the answer to 42. The number has pop culture significance as the fictional answer to “the ultimate question of life, the universe, and everything,” as Douglas Adams famously penned in his novel “The Hitchhiker’s Guide to the Galaxy.” The question that begets 42, at least in the novel, is frustratingly, hilariously unknown.

In mathematics, entirely by coincidence, there exists a polynomial equation for which the answer, 42, had similarly eluded mathematicians for decades. The equation x3+y3+z3=k is known as the sum of cubes problem. While seemingly straightforward, the equation becomes exponentially difficult to solve when framed as a “Diophantine equation” — a problem that stipulates that, for any value of k, the values for x, y, and z must each be whole numbers.

When the sum of cubes equation is framed in this way, for certain values of k, the integer solutions for x, y, and z can grow to enormous numbers. The number space that mathematicians must search across for these numbers is larger still, requiring intricate and massive computations.

Over the years, mathematicians had managed through various means to solve the equation, either finding a solution or determining that a solution must not exist, for every value of k between 1 and 100 — except for 42.

In September 2019, Booker and Sutherland, harnessing the combined power of half a million home computers around the world, for the first time found a solution to 42. The widely reported breakthrough spurred the team to tackle an even harder, and in some ways more universal problem: finding the next solution for 3.

Booker and Sutherland have now published the solutions for 42 and 3, along with several other numbers greater than 100, this week in the Proceedings of the National Academy of Sciences.

Picking up the gauntlet

The first two solutions for the equation x3+y3+z3 = 3 might be obvious to any high school algebra student, where x, y, and z can be either 1, 1, and 1, or 4, 4, and -5. Finding a third solution, however, has stumped expert number theorists for decades, and in 1953 the puzzle prompted pioneering mathematician Louis Mordell to ask the question: Is it even possible to know whether other solutions for 3 exist?

“This was sort of like Mordell throwing down the gauntlet,” says Sutherland. “The interest in solving this question is not so much for the particular solution, but to better understand how hard these equations are to solve. It’s a benchmark against which we can measure ourselves.”

As decades went by with no new solutions for 3, many began to believe there were none to be found. But soon after finding the answer to 42, Booker and Sutherland’s method, in a surprisingly short time, turned up the next solution for 3:

5699368212219623807203 + (−569936821113563493509)3 + (−472715493453327032)3 = 3

The discovery was a direct answer to Mordell’s question: Yes, it is possible to find the next solution to 3, and what’s more, here is that solution. And perhaps more universally, the solution, involving gigantic, 21-digit numbers that were not possible to sift out until now, suggests that there are more solutions out there, for 3, and other values of k.

“There had been some serious doubt in the mathematical and computational communities, because [Mordell’s question] is very hard to test,” Sutherland says. “The numbers get so big so fast. You’re never going to find more than the first few solutions. But what I can say is, having found this one solution, I’m convinced there are infinitely many more out there.”

A solution’s twist

To find the solutions for both 42 and 3, the team started with an existing algorithm, or a twisting of the sum of cubes equation into a form they believed would be more manageable to solve:

kz3=x3+y3= (x+y)(x2xy+y2)

This approach was first proposed by mathematician Roger Heath-Brown, who conjectured that there should be infinitely many solutions for every suitable k. The team further modified the algorithm by representing x+y as a single parameter, d. They then reduced the equation by dividing both sides by d and keeping only the remainder — an operation in mathematics termed “modulo d” — leaving a simplified representation of the problem.

“You can now think of k as a cube root of z, modulo d,” Sutherland explains. “So imagine working in a system of arithmetic where you only care about the remainder modulo d, and we’re trying to compute a cube root of k.”

With this sleeker version of the equation, the researchers would only need to look for values of d and z that would guarantee finding the ultimate solutions to x, y, and z, for k=3. But still, the space of numbers that they would have to search through would be infinitely large.

So, the researchers optimized the algorithm by using mathematical “sieving” techniques to dramatically cut down the space of possible solutions for d.

“This involves some fairly advanced number theory, using the structure of what we know about number fields to avoid looking in places we don’t need to look,” Sutherland says.

A global task

The team also developed ways to efficiently split the algorithm’s search into hundreds of thousands of parallel processing streams. If the algorithm were run on just one computer, it would have taken hundreds of years to find a solution to k=3. By dividing the job into millions of smaller tasks, each independently run on a separate computer, the team could further speed up their search.

In September 2019, the researchers put their plan in play through Charity Engine, a project that can be downloaded as a free app by any personal computer, and which is designed to harness any spare home computing power to collectively solve hard mathematical problems. At the time, Charity Engine’s grid comprised over 400,000 computers around the world, and Booker and Sutherland were able to run their algorithm on the network as a test of Charity Engine’s new software platform.

“For each computer in the network, they are told, ‘your job is to look for d’s whose prime factor falls within this range, subject to some other conditions,’” Sutherland says. “And we had to figure out how to divide the job up into roughly 4 million tasks that would each take about three hours for a computer to complete.”

Very quickly, the global grid returned the very first solution to k=42, and just two weeks later, the researchers confirmed they had found the third solution for k=3 — a milestone that they marked, in part, by printing the equation on t-shirts.

The fact that a third solution to k=3 exists suggests that Heath-Brown’s original conjecture was right and that there are infinitely more solutions beyond this newest one. Heath-Brown also predicts the space between solutions will grow exponentially, along with their searches. For instance, rather than the third solution’s 21-digit values, the fourth solution for x, y, and z will likely involve numbers with a mind-boggling 28 digits.

“The amount of work you have to do for each new solution grows by a factor of more than 10 million, so the next solution for 3 will need 10 million times 400,000 computers to find, and there’s no guarantee that’s even enough,” Sutherland says. “I don’t know if we’ll ever know the fourth solution. But I do believe it’s out there.”

This research was supported, in part, by the Simons Foundation.

After cracking the “sum of cubes” puzzle for 42, mathematicians discover a new solution for 3 (2024)

FAQs

Can 42 is written as the sum of 3 cubes? ›

University of Bristol's Professor Andrew Booker and MIT Professor Andrew Sutherland have found a solution to x3 + y3 + z3 = 42, the famous 65-year-old math puzzle. Professor Booker and Professor Sutherland expressed the number 42 as the sum of three cubes.

What is the answer to the sum of cubes problem? ›

The number 42 has additional popular interest due to its appearance in the 1979 Douglas Adams science fiction novel The Hitchhiker's Guide to the Galaxy as the answer to The Ultimate Question of Life, the Universe, and Everything.

What is the formula for the cube of the sum of three numbers? ›

a + b + c whole cube formula is used to find the cube of the sum of three real numbers. The formula or the algebraic identity to find the value of a + b + c whole cube is written as: (a+b+c)3=a3+b3+c3+3(a+b)(b+c)(c+a).

What is the answer to x3 y3 z3 k? ›

Expert-Verified Answer

For decades, a math puzzle has stumped the smartest mathematicians in the world. x3+y3+z3=k, with k being all the numbers from one to 100, is a Diophantine equation that's sometimes known as "summing of three cubes." ∴ The required result will be 3xyz.

What 3 numbers add up to 42? ›

Let X be the first Number of three consecutive numbers. Then, x, x+1 & x+2 are the three consecutive numbers whose sum is 42. Hence the consecutive numbers are 13,14 &15 .

What is 42 the answer to? ›

The number 42 is especially significant to fans of science fiction novelist Douglas Adams' “The Hitchhiker's Guide to the Galaxy,” because that number is the answer given by a supercomputer to “the Ultimate Question of Life, the Universe, and Everything.”

Is 42 a perfect cube? ›

The number 42 on prime factorization gives 2 × 3 × 7. Here, the prime factor 2 is not in the power of 3. Therefore the cube root of 42 is irrational, hence 42 is not a perfect cube.

What is 3 as a sum of three cubes? ›

There are two easy ways to write 3 as a sum of three cubes: 13 + 13 + 13 = 3, (−5)3 + 43 + 43 = 3.

How do you represent 3 as a sum of cubes? ›

In 2019 mathematicians discovered a third way to represent 3 as the sum of three cubed numbers. The first is 1³ + 1³ + 1³, the second is 4³ + 4³ + (-5)³, and the third is 569936821221962380720³ + (-569936821113563493509)³ + (-472715493453327032)³.

Is there a formula for sum of cubes? ›

The sum of cubes (a3 + b3) formula is expressed as a3 + b3 = (a + b) (a2 - ab + b2).

What is the cube formula? ›

However, the meaning of cube is different in geometry, i.e. cube is a 3d shape with equal measure of edges and all the faces are squares. Based on this, we can also write the volume of cube formula since cube has equal length, breadth and height. Therefore, the volume of cube formula is a × a × a = a3.

How to work out 3 to the power of 4? ›

Answer: 3 to the 4th power is equal to the number 3 multiplied by itself four times, and the resultant answer is 81.

Is the answer to x3, y3, z3 k 42? ›

Expert-Verified Answer

In mathematics, entirely by coincidence, there exists a polynomial equation for which the answer, 42, had similarly eluded mathematicians for decades. The equation x3+y3+z3=k is known as the sum of cubes problem.

What is the hardest math equation? ›

The equation x3+y3+z3=k is known as the sum of cubes problem. While seemingly straightforward, the equation becomes exponentially difficult to solve when framed as a “Diophantine equation” — a problem that stipulates that, for any value of k, the values for x, y, and z must each be whole numbers.

What is the formula for x3 y3 z3 3xyz? ›

Using the identity and proof: x^3+y^3+z^3-3xyz=(x+y+z)(x^2+y^2+z^2-xy-yz-zx).

What is the cube number of 42? ›

Cubes 1 to 50 Table
Number (x)Multiplied Three times by itselfCubes (x3)
4242× 42× 4274088
4343× 43× 4379507
4444× 44× 4485184
4545× 45× 4591125
46 more rows

When can a number be written as a sum of 3 squares? ›

Legendre's Three Square Theorem

Theorem: A natural number N can be expressed as the sum of three squares X²+Y²+z² where X, Y and Z are integers if and only if N is NOT of the form (4^a)(7+8b) where a and b are non-negative integers (Note: 4^a means 4 to the power a).

What three integers have a sum of 42? ›

and the three consecutive integers are 13, 14, and 15.

Top Articles
Latest Posts
Article information

Author: Gregorio Kreiger

Last Updated:

Views: 6017

Rating: 4.7 / 5 (57 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Gregorio Kreiger

Birthday: 1994-12-18

Address: 89212 Tracey Ramp, Sunside, MT 08453-0951

Phone: +9014805370218

Job: Customer Designer

Hobby: Mountain biking, Orienteering, Hiking, Sewing, Backpacking, Mushroom hunting, Backpacking

Introduction: My name is Gregorio Kreiger, I am a tender, brainy, enthusiastic, combative, agreeable, gentle, gentle person who loves writing and wants to share my knowledge and understanding with you.