Partition function by henkma

main=[1,1..]%1
l%s=putStrLn("p("++shows s")="++show(l!!s))>>[sum$map(l!!)[x,x-s-1..0]|x<-[0..100]]%(s+1)

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

download

return to the top page