TDSM 2.21
From The Data Science Design Manual Wikia
The probability of getting exactly k heads on n tosses, where the coin has a probability of p in coming up heads on each toss follows the binomial distribution: P(X=k)=B(k,n,p)=Cknpk(1−p)n−k
The probability of getting k or more heads on n tosses: P(X≥k)=n∑i=kB(i,n,p)=n∑i=kCinpi(1−p)n−i