The same birthday by clock

for(n in(p=1):99)cat(sprintf("n=%d, p=%.8f
",n+1,1-(p=p-p*n/365)))

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

download

return to the top page