Non trivial powers Revisted by kaki

#!ruby -n
puts"#{x=eval$_} =#{(2..21).map{|i|d=(x.**1.0/i).round;d**i==x ?" #{d}^#{i}":p}}"

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

download

return to the top page