Earlier quoted context omitted.
Why are you so bitter? I asked this genuinely. I doubt PhD+ people do that type of research "just for fun", or do that like someone like me drinks a beer. Someone answered elaborately, and I'm glad they did. Thanks anyway.
> Why are you so bitter? I don't know, it's just how I am. > I doubt PhD+ people do that type of research "just for fun" Well you'd be surprised. All the professional mathematicians I know do math for its own sake. Some amateurs also do it "just for fun", as you say. > Someone answered elaborately, and I'm glad they did. Thanks anyway. A bigger person than me, especially considering the tone of your question.
42 is found to be the sum of three cubes
201–210 of 256 posts
Re: 42 is found to be the sum of three cubes
#202Earlier quoted context omitted.
It is enumerable, but I think what you may have missed is that negative numbers are included. i.e., > 42 = (-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3
Strangely, typing this into Google does NOT result in 42 ((-80538738812075974)^3)+(80435758145817515^3)+(12602123297335631^3)
Re: 42 is found to be the sum of three cubes
#203Earlier quoted context omitted.
Why are you so bitter? I asked this genuinely. I doubt PhD+ people do that type of research "just for fun", or do that like someone like me drinks a beer. Someone answered elaborately, and I'm glad they did. Thanks anyway.
> Why are you so bitter? I don't know, it's just how I am. > I doubt PhD+ people do that type of research "just for fun" Well you'd be surprised. All the professional mathematicians I know do math for its own sake. Some amateurs also do it "just for fun", as you say. > Someone answered elaborately, and I'm glad they did. Thanks anyway. A bigger person than me, especially considering the tone of your question.
Re: 42 is found to be the sum of three cubes
#204Earlier quoted context omitted.
If it displays during the title entry process it is educating the users about the transformations that occur too. It's a positive-reinforcement loop that supplements the guidelines. It's the reason you don't have to document in the guidelines that the maximum title length is 80 characters.
The title processing logic is surprisingly complex, just as the whole issue of titles on HN is surprisingly complex. That means the code runs on the server, which would make it awkward to run during the data entry process, which of course is browser-side.
Re: 42 is found to be the sum of three cubes
#205Earlier quoted context omitted.
Isn't the set of all triples of integers be enumerable, because (inductively) the set of all pairs of integers is enumerable (thanks, Cantor)? 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…
So what you're saying is (with needlessly complicated terms) that we can brute force the search for sums of three cubes?
Re: 42 is found to be the sum of three cubes
#206We can easily verify using SymPy on live.sympy.org: https://live.sympy.org/?evaluate=(-80538738812075974)**3%20%...
$ lynx -dump math.mit.edu/~drew | bc
42
$Re: 42 is found to be the sum of three cubes
#207Earlier quoted context omitted.
It is enumerable, but I think what you may have missed is that negative numbers are included. i.e., > 42 = (-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3
Strangely, typing this into Google does NOT result in 42 ((-80538738812075974)^3)+(80435758145817515^3)+(12602123297335631^3)
sh-4.2$ python -c "print(-805387388120759743+804357581458175153+126021232973356313)" 42
Re: 42 is found to be the sum of three cubes
#208Earlier quoted context omitted.
It is enumerable, but I think what you may have missed is that negative numbers are included. i.e., > 42 = (-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3
Strangely, typing this into Google does NOT result in 42 ((-80538738812075974)^3)+(80435758145817515^3)+(12602123297335631^3)
echo '((-80538738812075974)^3)+(80435758145817515^3)+(12602123297335631^3)' | bc
echo '_80538738812075974 3 ^ 80435758145817515 3 ^ 12602123297335631 3 ^ + + p' | dc
Re: 42 is found to be the sum of three cubes
#209Earlier quoted context omitted.
It is not computationally tractable to enumerate all triples of integers up to the size required to find the values for 42. 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)…
You only need to enumerate pairs of integers, the 3rd is then forced (quickly check if it's a cube).
Re: 42 is found to be the sum of three cubes
#210Earlier quoted context omitted.
Strangely, typing this into Google does NOT result in 42 ((-80538738812075974)^3)+(80435758145817515^3)+(12602123297335631^3)
python handles big int automatically: sh-4.2$ python -c "print(-80538738812075974 3+80435758145817515 3+12602123297335631 3)" 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