homehome Home chatchat Notifications


Solved for 42: long-lasting math problem finally gets its answer

42 may or may not be the answer to everything -- but it's definitely a solution for this math problem.

Mihai Andrei
September 13, 2019 @ 5:31 pm

share Share

Here’s a problem which sounds simple enough, but isn’t: find three numbers so that the sum of their cubes is equal to 42. A planetary scientist just solved the problem, and the numbers will definitely surprise you.

The original problem was laid out in 1954 at the University of Cambridge, and was very straightforward: find the solutions for x3+y3+z3=k, with k being all the numbers from one to 100. Some of them are pretty obvious. Just take 1, 2, and 3, sum their cubes, and you end up with 1+8+27=36 — so you have an answer to 36. You can be a bit clever and use -1 instead of 1, which leaves you with -1+8+27=34, and you have another solution. After you take out all these easy solutions, you’re left with some weird ones though.

There should be a solution for all numbers, but two proved particularly different to crack: 33 and 42. Thanks to a creative approach (and a week at a world-leading supercomputer), Professor Andrew Booker managed to solve it for 33. Coincidence or not, the only remaining number was 42 — which fans of the Hitchhiker’s Guide to the Galaxy will recognize as “the answer to Everything”, according to a fictional computing machine that worked for 7 million years.

Booker tried to solve the equation for 42, but couldn’t — so he turned to MIT maths professor Andrew Sutherland. Together, the two used a machine that’s surprisingly similar to the fictional one described above. The platform is called Charity Engine: a ‘worldwide computer’ that harnesses idle, unused computing power from over 500,000 home PCs to create a crowd-sourced, super-green platform made entirely from otherwise wasted capacity. It didn’t take 7 million years, but it did take quite a long time. Yet, at the end of it all, the two had their answer.

Are you ready?

The three numbers for which the sum of their cubes is equal to 42 are:

  • X = -80538738812075974
  • Y = 80435758145817515
  • Z = 12602123297335631

These three incredibly large numbers are the solution to the problem — trust us, we did the math.

We checked.

But while doing the math is easy if you have a big calculator, it’s not easy to reach these numbers in the first place. These 17-digit monsters are so big that brute-forcing calculations just won’t work. Instead, researchers used clever algorithms to help finesse the search. But there was no guarantee if or when they would find the solution. Booker, who is based at the University of Bristol’s School of Mathematics, says he’s glad the search is finally over:

“I feel relieved. In this game it’s impossible to be sure that you’ll find something. It’s a bit like trying to predict earthquakes, in that we have only rough probabilities to go by. So, we might find what we’re looking for with a few months of searching, or it might be that the solution isn’t found for another century.”

With ingenuity and sufficient computing power, you can solve almost any problem. Who knows, one day we might even learn the answer to Everthing — and it might be 42.

share Share

Beetles Conquered Earth by Evolving a Tiny Chemical Factory

There are around 66,000 species of rove beetles and one researcher proposes it's because of one special gland.

These researchers counted the trees in China using lasers

The answer is 142 billion. Plus or minus a few, of course.

New Diagnostic Breakthrough Identifies Bacteria With Almost 100% Precision in Hours, Not Days

A new method identifies deadly pathogens with nearly perfect accuracy in just three hours.

This Tamagotchi Vape Dies If You Don’t Keep Puffing

Yes. You read that correctly. The Stupid Hackathon is an event like no other.

Wild Chimps Build Flexible Tools with Impressive Engineering Skills

Chimpanzees select and engineer tools with surprising mechanical precision to extract termites.

Archaeologists in Egypt discovered a 3,600-Year-Old pharaoh. But we have no idea who he is

An ancient royal tomb deep beneath the Egyptian desert reveals more questions than answers.

Researchers create a new type of "time crystal" inside a diamond

“It’s an entirely new phase of matter.”

Mathematician Who Bridged Algebra and the Quantum World Wins 2025 Abel Prize

This year, the Abel Prize — the field’s highest honor — has been awarded to Masaki Kashiwara, prolific Japanese mathematician whose work has quietly reshaped how we understand some of the most complex equations in existence. The Norwegian Academy of Science and Letters announced the award “for his fundamental contributions to algebraic analysis and representation […]

Strong Arguments Matter More Than Grammar in English Essays as a Second Language

Grammar takes a backseat to argumentation, a new study from Japan suggests.

A New Study Reveals AI Is Hiding Its True Intent and It's Getting Better At It

The more you try to get AI to talk about what it's doing, the sneakier it gets.