Hankin, R. K. S. “Additive Integer Partitions in R”. Journal of Statistical Software, Code Snippets, vol. 16, no. 1, May 2006, pp. 1-3, doi:10.18637/jss.v016.c01.