TDSM 2.21
From The Data Science Design Manual Wikia
The probability of getting exactly [math]k[/math] heads on [math]n[/math] tosses, where the coin has a probability of [math]p[/math] in coming up heads on each toss follows the binomial distribution: [math]P(X=k) = B(k,n,p) = C^k_n p^k(1-p)^{n-k}[/math]
The probability of getting [math]k[/math] or more heads on [math]n[/math] tosses: [math]P(X\geq k) = \sum_{i=k}^n B(i,n,p) = \sum_{i=k}^n C^i_n p^i(1-p)^{n-i}[/math]