Twos in Pascals triangle by dianne

f 0=0
f n=f(div n 2)+mod n 2
n%(c:s)=putStrLn(s++tail(do k<-[0..n];x<-show$f k+f(n-k)-f n;c:max"."[x|x>'0'])++s)>>(n+1)%s
main=0%([1..64]>>" ")

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