This should help:
http://www.gatheringmagic.com/chrismascioli-100512-of-math-and-magic-part-1-the-hypergeometric-distribution/