Tetration Mod by rotary-o

#!ruby -parprime -ropenssl
eval'f=->x,m{M.prime_division.map{|n,|M-=M/n}
%s.to_bn.mod_exp x<1?1:M+f[x-1,M],m}
i=1
$_="#{i+=1} #$j
"while$j!=$j=f[i,M=%s]'%$F

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page