OFFSET
0,3
COMMENTS
If you toss an idealized coin n times, then the probability of obtaining more than a(n) "heads" is <= 5 percent.
MATHEMATICA
a[0] = 0; a[n_] := a[n] = For[m = a[n - 1], True, m++, If[Sum[Binomial[n, x], {x, 0, m}] >= 95/100*2^n, Return[m]]]; Table[a[n], {n, 0, 73}] (* Jean-François Alcover, Oct 11 2012 *)
CROSSREFS
KEYWORD
easy,nice,nonn
AUTHOR
Klaus Strassburger (strass(AT)ddfi.uni-duesseldorf.de), Dec 14 1999
STATUS
approved