Hankin, R. K. S. (2007). Urn Sampling Without Replacement: Enumerative Combinatorics in R. Journal of Statistical Software, Code Snippets, 17(1), 1–6. https://doi.org/10.18637/jss.v017.c01