for _=1,100 do for b=1,5e3 do c=(_*_+b*b)^.5 q=c%1>0 or print(_.." "..b.." "..c)end end