P(X = k) for n independent trials with success probability p.
binomial_p(10, 3, 1/2)
binomial_p(6, 2, 1/3)