P(X=k) = C(K,k)·C(N−K, n−k) / C(N,n)
E[X] = n·K/N
(N−n)/(N−1)
Compute hypergeometric probabilities in your browser — modeling sampling without replacement.