A theorem of Lamé, Dixon, and Heilbronn states that the average number of iterations of the classical GCD function is
and the maximum is given by