Asymptotics of harmonic knapsack problem
Has 2 answers on MathOverflow, none accepted. It may be fully or partly answered there; read them before working on it.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
By adding the numbers \(1/2\), \(1/3\), \(1/4\), \(1/5\), ... up to \(1/n\), I wish to get a number that's smaller than \(1\), but as close as possible to \(1\). I'm allowed to use the same number more than once in the sum, or not at all. What is the optimal solution? What is the size of the gap from 1?
Example: For \(n=12\), the optimal solution is:
\(\frac{1}{5} + \frac{1}{5} + \frac{1}{8} + \frac{1}{9} + \frac{1}{11} + \frac{1}{11} + \frac{1}{11} + \frac{1}{11} = \frac{3959}{3960}\)
with a gap from \(1\) of just \(\frac 1{3960}\).
Now, of course, I don't expect there to be a closed form answer for the size of the gap as a function of \(n\). My question is rather: What is the asymptotic behaviour of that gap as a function of \(n\)?
A trivial lower bound is provided by \((lcm\{1,2,…,n\})^{-1}\), which is roughly \(e^{-n}\).
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.