Partition function by Dingledooper

x=9**9
p=i=q=1
exec"p*=x**i-1;q*=x**-~i;print'p(%d)=%d'%(i,q/p%x);i+=1;"*100

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

download

return to the top page