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