42 is found to be the sum of three cubes
twitter.com
twitter.com
Then, if one could enumerate all triples of integers, one could, for each triple, calculate the sum of the cubes.
So, integers which are sums of cubes are enumerable. That doesn't mean they're a known recursive set, just recursively enumerable.
Am I missing something? Perhaps the statement "The general problem of exactly which numbers are the sum of three cubes is unsolved." is meant to imply "not known to be a recursive set", i.e., no known algorithm for finite time answering the question of whether a given integer is in the set?
The conjecture is: every integer that is not of the form 9k+4 or 9k+5 can be expressed as the sum of 3 cubes (and, in infinitely many ways).
So certainly any integer N either is or is not the sum of three cubes. Deciding which is the case computationally can be intractable.
Each of the integers in the solution are ~53 bits in length. To enumerate all triples of integers (with plus and minus) requires testing around 2^(53+53+53+1+1+1) = 2^162 items. If you could test one per nanosecond, this is 10^32 years, vastly older than the universe. If you threw 1 trillion such computers at it, it's still 10^23 years, also vastly longer than the age of the universe.
Thus enumeration is simply not possible.
The point of this is they found a solution for 42 after great effort.
If you’re assuming a fixed target, you don’t know how large you need to check to find an answer. That 53 bit numbers sufficed for 42 was not known in advance, and is not the bound for other targets.
It's that finite Cartesian products of countable sets are countable https://proofwiki.org/wiki/Cartesian_Product_of_Countable_Se...
I had exactly this in mind (or the proof that the set of rational numbers are countable), but mistakenly thought it was called the 'diagonal argument' because you would get the bijection to the natural numbers by counting diagonally through the table.
Here's something I've wondered about. In knot theory, a "knot" is a closed loop of string in 3d space, and if you allow the string to pass through itself it can obviously be unknotted (put into a form where it is a closed loop flat on a table). An unknotting is a sequence of pass-throughs to unknot it, and the unknotting number is the minimal number of pass-throughs among all unknottings. Unknotting sequences are actually recursively enumerable, but it's unknown whether there is a finite-time algorithm to compute unknotting number!
Every cube is within one of a multiple of nine, which means every sum of three cubes is within three of a multiple of nine. So numbers of the form 9k+4 or 9k+5 cannot be expressed as the sum of three cubes.
It’s conjectured that every other whole number can be.
https://twitter.com/robinhouston/status/1169938974246342658?...
> 42 = (-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3
((-80538738812075974)^3)+(80435758145817515^3)+(12602123297335631^3)
sh-4.2$ python -c "print(-805387388120759743+804357581458175153+126021232973356313)" 42
bc/dc arbitrary precision calculators are usually installed by default on *nix platforms and they handle numbers with thousands of digits
$ time echo '12345^67890' |bc |wc -c
285941
real 0m2.137s
user 0m2.128s
sys 0m0.012s
echo '((-80538738812075974)^3)+(80435758145817515^3)+(12602123297335631^3)' | bc
echo '_80538738812075974 3 ^ 80435758145817515 3 ^ 12602123297335631 3 ^ + + p' | dc
$ dc -e '_80538738812075974 3^ 80435758145817515 3^+ 12602123297335631 3^+p' (-80538738812075974n)**3n + 80435758145817515n**3n + 12602123297335631n**3nThe tweet chain gives a type of integer that we've proven cannot be expressed as a sum of three cubes (9k+4 and 9k+5), but that only means we've proven anything for 2/9ths of the integers, and it's only conjectured that the rest can be expressed as such.
There are some trivial other things can we can prove, such as any number that is 3x a cube, or 2x a cube plus/minus another cube. But that doesn't get us to full coverage.
As of yet we haven't proven a result for enough patterns such that every integer belongs to one of those patterns. I suppose to answer your question is that no, we don't have enough small numbers proven and/or we don't have a recursion pattern that covers the integers with the known numbers we have yet.
That's just my layman's understanding though. As it stands now, we do know that there are infinite numbers that cannot be expressed as a sum of three cubes, but we do have a useful finite set of integers that can. So a full solution to the problem will be good to know, but we already know that an answer is "some can, some can't."
Edit: I realize that someone is going to take issue with my changing GP saying enumerable to me saying countable. There's a difference, and I guess it could matter, but I'm too honest to change my original wording. Sorry in advance for getting it wrong.
You can enumerate a,b pairs and then you need to check whether the "locked in" value of c^3 is a cube.
However imagine it takes 1ns to validate a given pair [a,b].
The eventual solution was [-80538738812075974, 80435758145817515, 12602123297335631].
Since no combination of 3 positive (and therefore small) numbers has worked, we know that one of a,b,c are negative. Let's assume at least one of a,b are negative since it doesn't matter how we allocate them.
To reach the final pair of a = 80435758145817515 (the smaller positive integer) and b = -80538738812075974, you have to increment "a" (starting from 0) 80435758145817515 times and decrement "b" (starting from 0) 80538738812075974 times.
That is 80538738812075974*80435758145817515 possible combinations.
Let's assume each one takes 1 ns (which I believe is fairly optimistic at least for a single machine)
That results in a runtime of 6.5e+24 seconds, aka 2.1e+17 years. No matter how many machines you add, the brute force approach does not appear to be feasible.
I am interested to learn more about how they solved it if not brute force.
"Professors Booker and Sutherland's solution for 42 would be found by using 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."
https://phys.org/news/2019-09-sum-cubes-solvedusing-real-lif...
Wow, do they honestly believe their own marketing nonsense? There's no way the PUE and power efficiency of a bunch of old random desktop computers is going to come close to beating a modern Amazon, Google, or Microsoft datacenter. Cost wise, yeah sure, I'd bet it would be cheaper even with the lower efficiency and increased power usage but as far as "super-green" and low emissions this is just absurd. I think they might honestly not know that idle power usage is a small fraction of full load usage for any modern processor.
No facilities. No hardware. No bricks, mortar, shipping, mining of metals or rare earths. No replacing of millions of obsolete machines every three years. We tread lighter than any datacenter owner can ever dream of
I just came out watching the solution to how he actually solved it.
If anyone wants more details, I wrote a more detailed account, which has just been published at https://aperiodical.com/2019/09/42-is-the-answer-to-the-ques...
Consider the most important function of calculus - the integral. In layman's terms, it measures the area under a graph. Okay - that's a little bit useful, if you care about the physics of moving objects (A bus is accelerating at 2 m/s^2 for 5 seconds, how far does it travel..?)
Yet, if you know how to integrate, a mountain of not-immediately obvious physics problems - say, anything that has to do with electromagnetism (Maxwell's equations) immediately become tractable.
Edit: And apologies for using unicode ㊷ in the title, the ascii 42 was removed from the title after initial submission.
https://news.ycombinator.com/newsguidelines.html
If the title begins with a number or number +
gratuitous adjective, we'd appreciate it if you'd crop
it. E.g. translate "10 Ways To Do X" to "How To Do X,"
and "14 Amazing Ys" to "Ys." Exception: when the number
is meaningful, e.g. "The 5 Platonic Solids."Rendering pages is a matter that should be solved by the client.
The source says "At a mathematical meeting in New York in 1903, F. N. Cole walked on to the platform and, without saying a single word, wrote two large numbers on the blackboard. He multiplied them out in longhand, and equated the result to 2^67-1."
$ curl -s https://math.mit.edu/~drew/ | python3 -c 'from sys import stdin as s; from html.parser import HTMLParser as P; p = P(); p.handle_data = print; p.feed(s.read())' | tr -s ' \n'
Life, the Universe, and Everything
(-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3
$https://en.wikipedia.org/wiki/Sums_of_three_cubes#Computatio...
33 and 42 were known to be exceptions of all sums less than 100 for which solutions were found, until recently. 42 was the most recent to fall.
Why do we care if every integer not equal to 4 or 5 modulo 9 is the sum of three cubes? Just for fun?
In number theory you study properties/patterns of the numbers. This is an example of such a property.
These properties often seem like they don’t have any applications, and often they don’t, but not always. For example, cryptography is basically all based on number theory.
It's possible that solving this problem in a satisfactory way would teach us something useful about number theory, that's useful in real world practical stuff.
Andrew Wiles' proof of Fermat's Last Theorem is based on the modularity of elliptic curves. I'm not sure to what extent Wiles' proof contributed to elliptic curve cryptography hitting the scene a decade later, but it probably didn't hurt.
As a prime example, Fermat's Last Theorem was not a particularly applicable mathematical theorem. But when Andrew Wiles found a proof, he ended up proving several other elliptic curve conjectures which were important to the field.
EDIT: If you're opposed to this comment, I request that you explain your reasoning. Making the assumption that happiness is of any value, there's actually quite a bit to dig into here.
As for "hippies are pretty decent at sniffing things out", just because someone was correct about something in the past (despite a lack of evidence) does not make them correct today if they still lack evidence.
The burden of proof is on numerologists to show that they are correct, not on everyone else to disprove it.
(But I didn't bring it up, someone else did -- I was just responding to the argument that "there might be something to it".)
Was featured on HN earlier: https://news.ycombinator.com/item?id=19492091
Lot of context there.
That makes it interesting to most mathematicians (if it weren’t easy to state, it could still be interesting, but to a smaller audience)
Edit: it also is easy for non-mathematicians with a knack for computing to get a crack at. You need not know much about number theory to write a program that searches for solutions for the unknown cases (it will help, but knowing how to optimize programs may help more, and that’s not something all mathematicians are good in). That grows the set of people who might find this interesting.
https://live.sympy.org/?evaluate=(-80538738812075974)**3%20%...
$ lynx -dump math.mit.edu/~drew | bc
42
$=(-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3
Returns 1.09785E+36
You should not use Excel to do any serious mathematics, or really anything else where numerical precision is important.
https://www.bing.com/search?q=%3D%28-80538738812075974%29%5E...
Btw:
julia> (-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3
42
CL-USER> (+ (expt -80538738812075974 3) (expt 80435758145817515 3) (expt 12602123297335631 3))
42 (-80538738812075974n)**3n + 80435758145817515n**3n + 12602123297335631n**3n 198929873392615583518074640613244928
I take that back,
needs the `M` flagawk -M 'END{print (-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3}' /dev/null
42
but `bc` of course works
echo '(-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3' | bc
42
(-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3 is 42?
42?!
I always said there was something fundamentally wrong with the universe.
So, we get three coincidences: This question was asked in '54 ; "Hitchhiker's" said the answer to the meaning of life is 54 (6x9, 42 base 13); and best of all, 42 was the last number solved. And if you want to add one more coincidence, this was solved in the year '19 (connecting 19 and 54).
All irrelevant coincidences applied with hindsight, but fun.
(Douglas Adams claimed that 42 was a randomly chosen number, but I'd argue his subconscious had been processing the idea for a while and gave him a number with a meaning. We just don't know which is the correct meaning.)
If anyone else could use planetary-scale computing (potentially for free, if your project is really cool), then come and talk to us.
The CE grid has over 2 million CPU cores, 600k+ unique IP addresses, can run anything in a Docker container and has integration with Ethereum. Adding Kubernetes and GPU support as we speak.
You can fire it up with 8 clicks, easier than AWS. This is literally a fully-functional worldwide computer.
PS. It's not just ridiculously huge, it is also ridiculously cheap :)
Plus, it’s 42.
So you have things like Fermat's Last Theorum, or if you prefer, the Question: For a^n + b^n = c^n, are there any solutions with n > 2 for integers? Note how it's just multiplication and addition on the integers. There are simpler questions, but they don't get much simpler. There's no real analysis, transcendental numbers, imaginaries or higher-dimensional numbers, infinities, and so on, at least not in the question itself; it's literally so simple you can reasonably explain it to a middle schooler. It took mathematicians centuries, and the simplest version of the current proof is still PhD-level work to understand. (I suspect even a Master's student in math would have to carefully craft their entire post-doc education for the purpose of understanding this exact proof to be able to say they fully understood it, with no lemmas taken on faith, and I'm still not sure they could make it without a lot of independent study.)
You have things like "Can all of the numbers of a certain form be created via 'a^3 + b^3 + c^3'?", which sounds like it really ought to be simple. It's not too hard to eliminate 4 or 5 mod 9, but proving that it can always be done for everything else is beyond all current known math.
There's a lot of these sorts of questions in math right now. This is a particular single example of a family of very vexing problems.
It's hard to know what the practical impact of mastery over this combination would be, but I expect there probably would be some. Mastery over addition and multiplication have practical consequences that would require a series of books to explore; you have to think that mastering them in combination couldn't help but be practically useful.
[1]: I think it was a somewhat recent Numberphile video, but it may also have been a Terence Tao lecture. References solicited if you've got 'em.
33, 42, 114, 165, 390, 579, 627, 633, 732, 795, 906, 921, 975.
Earlier this year a solution for k=33 was found [1], so 42 was the next unknown value.
[1] Brooker, A., "CRACKING THE PROBLEM WITH 33", https://people.maths.bris.ac.uk/~maarb/papers/cubesv1.pdf
Why?
>>> (-80538738812075974)**3 + 80435758145817515**3 + 12602123297335631**3
42 $ echo "print((-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3)" | sed "s/\^/**/g" | python -
42$ calc
calc 2.12.4.1
> (-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3
42
>Literally pasted off the web page and verified in a couple of seconds.
$ echo $(((-80538738812075974)**3 + 80435758145817515**3 + 12602123297335631**3))
42 $ echo '(-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3' | bc
42 dc -e '_80538738812075974 3 ^ 80435758145817515 3 ^ 12602123297335631 3 ^ + + p' > (-80538738812075974n)**3n + 80435758145817515n**3n + 12602123297335631n**3n
42n
https://caniuse.com/#search=bigint scala> BigInt("-80538738812075974").pow(3) + BigInt("80435758145817515").pow(3) + BigInt("12602123297335631").pow(3)
res0: scala.math.BigInt = 42 1.9892987e+35
It pains me how its 2019 and the fricking Google calculator is less powerful than a solar powered credit-card sized one from the 90s. A single chip made on the earliest imaginable IC processes can effortlessly deal with larger numbers than the lazy ignorant Google implementation. Maybe they can make this an interview question. (-80538738812075974 raisedTo: 3)
+ (80435758145817515 raisedTo: 3)
+ (12602123297335631 raisedTo: 3) "42"And why is that mouse looking at me?
Very interesting finding in any case!
What do you get when you multiply six by nine? Forty-two. That's the meaning of life.
"We apologize for the inconvenience."
[1] https://en.wikipedia.org/wiki/42_(number)#The_Hitchhiker's_G...
bc 1.07.1 Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'.
(-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3
42
GIVE A FUCK?