+ 1
Write all solutions for a^3+b^3 = c^3 + d^3, where a, b, c, d lie between [0, 10^5]
14 Antworten
+ 3
Won't run on Sololearn though (Sololearn is too slow)
https://code.sololearn.com/cTegHfwQnnNA/?ref=app
+ 3
https://code.sololearn.com/ccqqSZxnwf0k/?ref=app
+ 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 🤓
+ 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].
+ 2
Yes, I'm sure. I wrote a funny little C program
+ 1
What do you need it for? We're not supposed to do other people's homework here...
+ 1
Thank you so much
0
İf we say a and b isnt equal to d and c
0
Would that be foundable
0
You sure?
0
How did you find them
0
Can i see that
0
My friend ask me today and i wondered how i can do it by programming
0
And i realize i am not able to do that