Birthday problem: Difference between revisions

m
m (Clarify, slightly)
Line 301:
Quicky approach (use a population of 1e5 people to get a quick estimate and then refine against a population of 1e8 people):
 
<lang J>bd5=: ?1e5 ?@# 365
bd8=: ?1e8 ?@# 365
 
cnt=: [: >./ #/.~
Line 315:
)
 
est=: 3 :0
approx=. (bd5 Prb&y i.365) I. 0.5
n=. approx-(2+y)
892

edits