Partition function by kaki

((^a((rec,i(print"p("i")="((rec(f n k)(or #0=(~ a(+(* k 101)n))((^r(set! #0#r)r)(if(< k n)(+(f n(+ k 1))(f(- n k)k))(div n k)))))i 1)),(+ i 1))1))(make-list 10201))

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

download

return to the top page