Let $p_n$ be the $n$-th prime and $d_n$ be the integer in the prime gap $(p_n,p_{n+1})$ such that $d_n$ has more divisors than any other integer in that gap. If two or more integers in the gap have the largest number of divisors then we take $d_n$ to be the smallest among them. Experimental data shows that the sequence of ratios $\frac{p_{n+1} - d_n}{p_{n+1} - p_n}$ approaches uniform distribution in $(0,1)$ as $n \to \infty$.
Motivation: This is somewhat counter intuitive in the sense that bigger number tend to have more divisors so my naïve guess that that the distribution of $d_n$ should be skewed towards $p_{n+1}$ but experimental data showed otherwise.
Experimental verification: To test this conjecture, I evaluated the limit below for $n = 10^{10}$ and for different functions $f(x) $and observed that its value agreed with the integral on the RHS.
$$ \lim_{n \to \infty} \frac{1}{n}\sum_{r=1}^n f \left(\frac{d_r - p_r}{p_{r+1} - p_r}\right) = \lim_{n \to \infty} \frac{1}{n}\sum_{r=1}^n f \left(\frac{p_{r+1} - d_r}{p_{r+1} - p_r}\right) = \int_{0}^1 f(x)dx $$
Question: Does $\frac{p_{n+1} - d_n}{p_{n+1} - p_n}$ approach uniform distribution in $(0,1)$ as $n \to \infty$?
Related: Riemann sum formula for definite integral using of prime numbers