Pythagorean triple fixed by pooq

for a=3,100 do for b=3,5e3 do c=(a*a+b*b)^.5;d=c%1>0 or print(a.." "..b.." "..c)end end

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page