I wrote a computer program function that takes an integer as input and outputs the average distance between all the succesive primes below this integer. I graphed the data and ran a logarithmic regression on it and came up with the green curve seen in the attached image. Would this regularity be something expected of a graph like this? Its just an interesting property, to me.