I created a "distribution deviation" where for $\left\{a_1,...,a_k\right\}$ we take all take the mean of all combinations of $\frac{\min\left\{a_{i},a_{j}\right\}}{\max\left\{a_{i},a_j\right\}}$ ($i,j\in\left\{1,...,k\right\}$) without repetitions, subtract by one and take the absolute value.
$$\left|1-\frac{1}{\sum\limits_{i=1}^{k-1}i}\sum_{j=2}^{k}\sum_{i=1}^{j-1}\frac{\min\left\{a_{i},a_{j}\right\}}{\max\left\{a_{i},a_{j}\right\}}\right|$$
For infinite $k$ we simply take
$$\left|1-\frac{2}{k(k-1)}\sum_{j=1}^{k}\sum_{i=1}^{j-1}\frac{\min\left\{a_{i},a_{j}\right\}}{\max\left\{a_{i},a_{j}\right\}}\right|$$
This works well for values of $a_i$ that are extremely small.
I want to apply this deviation to the differences of elements in the folner sequence of $\left\{\frac{\ln(m)}{\ln(n)}:m\in\mathbb{N}_{>0},n\in\mathbb{N}_{>1}\right\}\cap[0,1]$. The folner sequence is
$$g(d)=\left\{\frac{\ln(m)}{\ln(n)}:m\in\mathbb{N}_{>0},n\in\mathbb{N}_{>1},n\le d\right\}\cap[0,1]$$
For every $d\in\mathbb{R}$, if we list $g(d)$ (note $g(d)$ is finite) as $\left\{a_1,...,a_{k}\right\}$ ($k$ is the number of elements in the list depending on $d\in\mathbb{R}$) we take $|a_{i+1}-a_i|$ where $i,j\in\left\{1,...,k\right\}$. My distribution deviation as $d,k\to\infty$.
$$\lim_{k\to\infty}\left|1-\frac{2}{k(k-1)}\sum_{j=2}^{k}\sum_{i=1}^{j-1}\frac{\min\left\{a_{j+1}-a_{j},a_{i+1}-a_{i}\right\}}{\max\left\{a_{j+1}-a_{j},a_{i+1}-a_{i}\right\}}\right|$$
Here is my attempt to do this
F[d_] := Abs[
Differences[
DeleteDuplicates[
Sort[Flatten[
Table[Log[m]/Log[n], {n, 2, d}, {m, 1, Floor[n]}]]]]]];
G[d_] := Table[
N[Min[F[d][[i]], F[d][[j]]]/Max[F[d][[i]], F[d][[j]]], 10], {j, 2,
Length[F[100]]}, {i, 1, j - 1}]
Unfortunately it takes too long to load. Is there a way to shorten the time? Does my code match my math equations?