The same birthday by pooq

a:=1;for(i,1,99,writeln("n=",i+1,", p=",(1-a=a-a*i/365)asString(0,8)))

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

download

return to the top page