The same birthday by teebee

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

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

download

return to the top page