Let $n\in N$, where $n = p_{1}^{k_{1}}p_{2}^{k_{2}}...p_{m}^{k_{m}}$ for $p_{i}$ prime.
Define the 'density' of $n$ as:
$d(n) = \frac{(p_{1}+1)^{k_{1}}(p_{2}+1)^{k_{2}}...(p_{m}+1)^{k_{m}}}{n}$
Notice that $d(n)$ gives us a measure of the 'compositeness' of a number - relative to other numbers of a similar size. Notice also that $n_{1} \neq n_{2} \implies d(n_{1}) \neq d(n_{2})$
Now extend the definition to the rational numbers so that for $r \in Q$, where $r=a/b$, and $a=p_{1}^{k_{1}}p_{2}^{k_{2}}...p_{m}^{k_{m}}$, $b=q_{1}^{l_{1}}q_{2}^{l_{2}}...q_{n}^{l_{n}}$
Define the density of $r$ as:
$d(r) = \frac{(p_{1}+1)^{k_{1}}(p_{2}+1)^{k_{2}}...(p_{m}+1)^{k_{m}}}{a}.\frac{b}{(q_{1}+1)^{l_{1}}(q_{2}+1)^{l_{2}}...(q_{n}+1)^{l_{n}}}$
Now order the rational numbers in an $n$ x $n$ grid (the same grid used to prove the countability of the rationals). Denote the average density of the first $n$ rationals in the grid by $D_{n}$
Does $\lim_{n\to\infty} D_{n}$ exist, and if so what is it?
I have computed this for $n > 500,000$ and it turns out to be 1.61806, which is remarkably close to $\phi$. Is there a relationship between the density definition given above and the golden ratio?