Steve D'Aprano wrote:
I don't think that talking about the average integer is meaningful.
We're not averaging the integers, we're averaging their numbers of digits, which are natural numbers. To do this rigorously you could write down an expression for the average length of integers up to some finite N, and then take the limit as N -> infinity. I haven't worked through that, but I'd expect the sum to diverge. -- Greg -- https://mail.python.org/mailman/listinfo/python-list