Harmonic number (source code)

= Harmonic number
{title2=$H_n$}
{wiki}

The $n$th harmonic number is $H_n=\sum_{k=1}^n1/k$. Its asymptotic expansion begins
$$
H_n=\log n+\gamma+\frac1{2n}+O(n^{-2}),
$$
where $\gamma$ is the <Euler--Mascheroni constant>.