Marsaglia, George, and Wai Wan Tsang. “The Monty Python Method for Generating Gamma Variables”.
Journal of Statistical Software
, vol. 3, no. 3, Jan. 1999, pp. 1-8, doi:10.18637/jss.v003.i03.