The previous post on Euler sums evaluated sums containing \(H_n\) and \(H_n^{(2)}\). We now turn to squares of harmonic numbers. Their generating function leads to the integral \(\int_0^x \frac{\log^3(1-t)}{t}dt\), from which several further evaluations follow.
A generating function for squared harmonic numbers
This can be derived by plugging \(H_n = \int_0^1\frac{1-t^n}{1-t}dt\) and interchanging the sum and the integral. We can rewrite the above equation using the fact that \(\sum_{n=1}^\infty H_n^{(2)} x^n = \frac{\text{Li}_2(x)}{1-x}\).
1. Evaluation of \(\int_0^x \frac{\log^n(1-t)}{t}dt\)
In this section, we will derive a formula for the integral \(\int_0^x \frac{\log^n(1-t)}{t}dt\) where \(n\) is a positive integer. First, we'll consider the case when \(0\leq x < 1\). We have:
We can divide equation \(\eqref{euler-sums-involving-square-of-harmonic-numbers-eq-1}\) by \(x\) and integrate both sides to get some interesting results.