Tetration Mod by tails

sub f{my$m=$t=$p;$i=2;0while$t%$i?$p-=$t%($i=$i*$i<$t?$i+1:$t)?0:$p/$i:($t/=$i)-1;bmodpow{use bigint;0+$a}0+$p+(--$n?&f:$a),$m}map{($a,$m,$b)=glob;0while-$u+($u=f$p=$m,$n=++$b);print"$b $u
"}<>

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