Let $$a(n):=n-\left\lfloor\frac n2\right\rfloor+\left\lfloor\frac n3\right\rfloor-\left\lfloor\frac n4\right\rfloor+\left\lfloor\frac n5\right\rfloor-\dotsb.$$ Note that this is a finite sum. Naïvely, $$a(n)\approx n-\frac n2+\frac n3-\frac n4+\frac n5-\dotsb=n\ln2,$$ and so in particular \begin{align}\lim_{n\to\infty}\frac{a(n)}n=\ln2.\tag{$*$}\end{align} However, I'm having trouble proving this formally. In particular, the difficulty lies in showing that the error goes to zero.
The OEIS page for this sequence, https://oeis.org/A059851, claims that $(*)$ is correct, but I have been unable to prove it. Can someone find a rigorous proof?