

A039708


a(n) = min{m: Sum_{x=0..m} binomial(n,x) >= 0.95*2^n}.


1



0, 1, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9, 9, 10, 11, 11, 12, 12, 13, 14, 14, 15, 15, 16, 17, 17, 18, 18, 19, 19, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 26, 27, 27, 28, 29, 29, 30, 30, 31, 31, 32, 32, 33, 34, 34, 35, 35, 36, 36, 37, 37, 38, 39, 39, 40, 40, 41, 41, 42, 42, 43, 44
(list;
graph;
refs;
listen;
history;
text;
internal format)



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.


LINKS



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}] (* JeanFrançois Alcover, Oct 11 2012 *)


CROSSREFS

Cf. A051889 (similar for a 6sided die).


KEYWORD

easy,nice,nonn


AUTHOR

Klaus Strassburger (strass(AT)ddfi.uniduesseldorf.de), Dec 14 1999


STATUS

approved



