[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.3956885 [View]
File: 350 KB, 859x626, Porgr.png [View same] [iqdb] [saucenao] [google]
3956885

Alright /sci/, I posted this about 4 days ago, and even though some came close, no actual solution had been found.

So, let's try to get it this time, I hope you programmers out there can help me.

How to find all the answers to the equation in the pic (a^3 + b^4 = c^5) for c ≤ 10000 (so, all the answers up to a 10000) and display them in a list. God tier would be to only display whole numbers (no decimals) in the list (because those are the solutions I'm looking for).

Please help!

>> No.3943497 [View]
File: 350 KB, 859x626, Porgr.png [View same] [iqdb] [saucenao] [google]
3943497

After posting both problems, with the first one solved quickly, the second (quite hard one) approached reasonably, I now need one final input!

If anyone could show me, a complete programming-layman, how to calculate all the answers for c<10000 (of course, with c being a whole number, no decimals), and display them in a list.

God-mode: calculate all the answers for c<10000, and display only the whole numbers (no decimals) in the list!

Navigation
View posts[+24][+48][+96]