Motivation: I felt excited by the answer of X-Rui in this thread. So, I tried to generalize his answer.
I tried to obtain the distribution in $[0,1]$ of the fractional parts of the numbers $n/1, n/2, .... n/n$ as $n$ tends to $\infty$.
There may be many applications like computing the limit of ${1\over n}(\sum_k [an/k] - \sum_k n/k)$ as $n$ tends to $\infty$.
My overall question is: do you think the following informal argument makes sense? (of course, there should be much more work to make it a formal proof).
Fix an integer $n>1$, which is in fact assumed to be large. Let $\alpha$ be another positive large number.
Building upon the argument of X-Rui, we have
for ${\alpha\over \alpha+1} n < k \leq n$, there holds $1\leq {n\over k} < 1 + {1\over \alpha}$
for ${\alpha\over \alpha+2}n < k \leq {\alpha\over \alpha+1}n$, there holds $1+{1\over \alpha}\leq {n\over k} < 1 + {2\over \alpha}$.
for ${\alpha\over \alpha+3}n < k \leq {\alpha\over \alpha+2}n$, there holds $1+{2\over \alpha}\leq {n\over k} < 1 + {3\over \alpha}$.
. . .
for ${\alpha\over 2\alpha}n < k \leq {\alpha\over 2\alpha-1}$ there holds $2 - {1\over \alpha} \leq {n\over k} < 2$
for ${\alpha\over 2\alpha+1} n < k \leq {\alpha \over 2\alpha}$, there holds $2\leq {n\over k} < 2 + {1\over \alpha}$
and so on.
Hence, if $q$ is a number between $1$ and $\alpha-1$, the fractional part of $n/k$ will lie between ${q-1\over \alpha}$ and ${q\over \alpha}$ whenever ${n\alpha \over m\alpha + q} < k \leq {n\alpha\over m\alpha+q-1}$, with $m = 1, 2,3,...$.
So, as $n$ becomes very large, the proportion of these fractional parts among the fractional parts of $n/1,n/2,... n/n$ will tend to $$ S = \alpha \sum_{m=1}^\infty {1\over m\alpha+q-1} - {1\over m\alpha + q} = \sum_m {1\over m + {q\over \alpha}-{1\over \alpha}} - {1\over m + {q\over \alpha}}.$$ Since $\alpha$ has been assumed to be large, we can use the formula ${1\over x-\varepsilon}-{1\over x} \approx {\varepsilon\over x^2}$ to get $$ S \approx \sum_m \bigg({1\over m+{q\over \alpha}}\bigg)^2 {1\over \alpha}.$$ Now, in order to have a continuous distribution, we replace ${q\over \alpha}$ by $x$, and $1\over \alpha$ by $dx$, to obtain $$d\phi = \sum_m {1\over (x+m)^2} dx, $$ where $\phi$ is the cumulative function of the desired distribution. In other words, the density of this distribution is $$\varphi(x) = \sum_m {1\over (m+x)^2}.$$
My secondary question is: does the above sum have a known analytic form?
Note: the above function is indeed a distribution density (actually it is the folded distribution of the ditribution $1/(1+x)^2$ in $[0, \infty)$): to see that, we have only to check that $\int_0^1 \varphi(x) dx = 1$: We have $$S_m = \int_0^1 {1\over (m+x)^2} = {1\over m} - {1\over m+1} = {1\over m(m+1)}.$$ Hence $\sum_{m\geq 1} S_m < \infty$ and $\int_0^1\varphi(x)dx = \sum_m S_m$.
Now $$\sum_{m=1}^N S_m = \sum_{m=1}^N {1\over m} - {1\over m+1} = 1 - {1\over N+1} \longrightarrow 1, \quad {\rm as}\ N\to \infty.$$
Answer to the overall question. I can neither assert the correctness of the reasoning nor find flaws in it. But, if we start over with the core idea in a cleaner way, the conclusion does hold.
Think $\frac{k}{n} = \frac{1}{n/k}$ as uniformly distanced points on $(0, 1]$. As $n \to \infty$, it's reasonable to think we are just sampling the uniform distribution on $(0, 1]$. Asking for the distribution of $\left\{\frac{n}{k}\right\}$ would translate into the distribution of $Y = \left\{\frac{1}{X}\right\}$ where $X \sim U(0, 1)$.
As usual, we investigate the cumulative distribution function of $Y = \{\frac{1}{X}\}$. For $y \in [0, 1)$, $$\begin{gather*} Y = \left\{\frac{1}{X}\right\} \leq y \iff \frac{1}{X} \in \bigcup_{m=1}^\infty [m, m+y] \iff X \in \bigcup_{m=1}^\infty \left[\frac{1}{y+m}, \frac{1}{m}\right], \\ \Phi(y) = P(Y \leq y) = \sum_{m=1}^\infty P\left(\frac{1}{y+m} \leq X \leq \frac{1}{m}\right) = \sum_{m=1}^\infty \left(\frac{1}{m} - \frac{1}{y+m}\right). \end{gather*}$$ This CDF agrees with the PDF given in the description: $$\Phi'(y)=\sum_{m=1}^\infty \frac{1}{(y+m)^2} = \varphi(y).$$
Answer to the secondary question. We can extend the formula of $\Phi$ to all real numbers except negative integers. It would not be the CDF of $Y$ any more, but it agrees with the CDF on $[0, 1]$, which is the part that matters anyway. The extended $\Phi$ is actually a continuous extension of the partial sums of the harmonic series. For all $x \neq -1, -2, -3, \dots$, $$\begin{split} \Phi(x+1) &= \sum_{m=1}^\infty \left(\frac{1}{m} - \frac{1}{x+1+m}\right) \\ %&= \sum_{m=1}^\infty \left(\frac{1}{m} - \frac{1}{m+1} + \frac{1}{m+1} - \frac{1}{x+m+1}\right) \\ &= \sum_{m=1}^\infty \left(\frac{1}{m} - \frac{1}{m+1}\right) + \sum_{m=1}^\infty\left(\frac{1}{m+1} - \frac{1}{x+m+1}\right) \\ &= 1 + \sum_{m=2}^\infty\left(\frac{1}{m} - \frac{1}{x+m}\right) \\ &= \frac{1}{x+1} + \sum_{m=1}^\infty\left(\frac{1}{m} - \frac{1}{x+m}\right) \\ &= \Phi(x) + \frac{1}{x+1}. \end{split}$$ And since $\Phi(0)=0$, we have $\Phi(n)=H_n=\sum_{m=1}^n \frac{1}{m}$ for all natural number $n$.
There is a known continuous formula (ref 1 and 2) for the harmonic numbers which is $$H(x) = \psi(x+1) + \gamma = \frac{\Gamma'(x+1)}{\Gamma(x+1)} + \gamma,$$ where $\psi(x) = \frac{\Gamma'(x)}{\Gamma(x)}$ is the digamma function and $\gamma \approx 0.577$ is the Euler-Mascheroni constant. In fact, this $H$ is identical to $\Phi$ (ref 2, 3, and 4). This gives us a nice formula for $\Phi$ using $\psi$, $$\Phi(x) = \psi(x+1) + \gamma = \psi(x) + \frac{1}{x} + \gamma.$$ The latter equality is from the recurrence formula of $\psi$ (ref 1 and 2). Then, with Gauss's digamma theorem (ref 2), it is possible to calculate the exact value of $\Phi$ for any rational number in $[0, 1]$ using only elementary functions.
References