Let $H_i$ be the $i$ th harmonic number. For a given positive integer $m$ we want to find the smallest possible positive integer value $n$ such that $H_n = m + \alpha $, where $\alpha > 0$.
Let us define the solution as $f(m) = n$
Let $\operatorname{floor}$ be defined as rounding downwards. Examples $\operatorname{floor}(3,14) = 3 , \operatorname{floor}(9,99999) = 9 $)
Let $\gamma$ be the Euler-Mascheroni constant.
Now it appears that $f(m) $ has a simple closed form :
$$ f(m) = \operatorname{floor}\left( \exp(n - \gamma) - \frac{1}{2} \right) $$
How to prove this ? I assume it is necessary to assume $\gamma$ is irrational ?
I toyed around with irrationality measure and asymptotics to the digamma function. But nothing worked.
Maybe use Fourier series ?
I wrote a program which calculated a few first values $f(m)$ and plug them to OEIS. The search query point me to sequence A002387, and your question turned out to be well-known. I copied below the comments from OEIS
So, if the conjecture fails then a counterexample is expected to be at the beginning of the infinity. :-) Robert G. Wilson v, and T. D. Noe provided a table of $n$, $a(n)$ for $n = 0..2303$, so if the conjecture holds for these $n$ then the heuristic probability of its failure falls to about $1/(24\cdot 2303)$.