Pythagorean triple fixed by notogawa

main=mapM putStrLn[unwords$map show[a,b,c]|a<-[3..100],b<-[3..div(a^2)2],even$a*b,c<-[b..b+a],c^2==a^2+b^2]

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

download

return to the top page