Non trivial powers Revisted by notogawa

m@main=do x<-readLn;putStrLn$unwords$x#" =":[z#"^"++n#""|n<-[2..21],z<-[round$f x**(1/f n)],z^n==x];m
(#)=shows
f=fromInteger

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

download

return to the top page