Can?Can?Can?Can?
Posted: Fri Sep 05, 2003 5:27 am
Code: Select all
deftype.l a,b,c,d
pow(a,4) +pow(b,4) +pow(c,4) = pow(d,4)
i run on my Pentium 155mhz, ahah
can find a,b,c,d
http://www.purebasic.com
https://www.purebasic.fr/english/
Code: Select all
deftype.l a,b,c,d
pow(a,4) +pow(b,4) +pow(c,4) = pow(d,4)
ahh,Ypser wrote:Does this code have any sense?
Code: Select all
deftype.l a,b,c,d
for a=1 to 255
for b=1 to 255
for c=1 to 255
for d=1 to 255
if pow(a,4) +pow(b,4) +pow(c,4) = pow(d,4)
debug a
debug b
debug c
debug d
endif
next d
next c
next b
next a
wow, but all number a,b,c,d greater zero!freedimension wrote:There is an infinite number of solutions
0^4 + 0^4 + 0^4 + 0^4 = 0^4
1^4 + 0^4 + 0^4 + 0^4 = 1^4
. . .
0^4 + 0^4 + 0^4 + n^4 = n^4