On the Lengths of the Periods of the Continued Fractions of Square-Roots of Integers.
We provide upper bounds for the mean square integralwhere and lies in a suitable range. For a fixed integer, is the error term in the asymptotic formula for the summatory function of the divisor function , generated by .