+ 1

Write all solutions for a^3+b^3 = c^3 + d^3, where a, b, c, d lie between [0, 10^5]

25th Feb 2019, 12:29 PM
Ethem
Ethem - avatar
14 odpowiedzi
+ 3
Won't run on Sololearn though (Sololearn is too slow) https://code.sololearn.com/cTegHfwQnnNA/?ref=app
25th Feb 2019, 1:59 PM
Anna
Anna - avatar
+ 3
https://code.sololearn.com/ccqqSZxnwf0k/?ref=app
3rd Mar 2019, 7:34 PM
Louis
Louis - avatar
+ 2
All solutions? Wouldn't that be true every time a equals c and b equals d (or the other way round)? There are billions of solutions even if a, b, c and d are integers. /Edit: I just checked for the range [0, 10^2] and found 20,260 solutions... I'm not going to write them all down 🤓
25th Feb 2019, 1:16 PM
Anna
Anna - avatar
+ 2
So, only solutions like 96³ + 12³ = 90³ + 54³ or 54³ + 20³ = 48³ + 38³? There are still hundreds of solutions even in the range [0, 10^2].
25th Feb 2019, 1:30 PM
Anna
Anna - avatar
+ 2
Yes, I'm sure. I wrote a funny little C program
25th Feb 2019, 1:33 PM
Anna
Anna - avatar
+ 1
What do you need it for? We're not supposed to do other people's homework here...
25th Feb 2019, 1:36 PM
Anna
Anna - avatar
+ 1
Thank you so much
25th Feb 2019, 2:02 PM
Ethem
Ethem - avatar
0
İf we say a and b isnt equal to d and c
25th Feb 2019, 1:25 PM
Ethem
Ethem - avatar
0
Would that be foundable
25th Feb 2019, 1:25 PM
Ethem
Ethem - avatar
0
You sure?
25th Feb 2019, 1:31 PM
Ethem
Ethem - avatar
0
How did you find them
25th Feb 2019, 1:31 PM
Ethem
Ethem - avatar
0
Can i see that
25th Feb 2019, 1:34 PM
Ethem
Ethem - avatar
0
My friend ask me today and i wondered how i can do it by programming
25th Feb 2019, 1:37 PM
Ethem
Ethem - avatar
0
And i realize i am not able to do that
25th Feb 2019, 1:38 PM
Ethem
Ethem - avatar