Direct proof An
elementary proof is sketched below. From the
inequality of arithmetic and geometric means applied to the numbers 1\cdot a_1,2\cdot a_2,\dots,n \cdot a_n :\mathrm{MG}(a_1,\dots,a_n)=\mathrm{MG}(1a_1,2a_2,\dots,na_n)(n!)^{-1/n}\le \mathrm{MA}(1a_1,2a_2,\dots,na_n)(n!)^{-1/n} where MG stands for geometric mean, and MA — for arithmetic mean. The
Stirling-type inequality n!\ge \sqrt{2\pi n}\, n^n \mathrm{e}^{-n} applied to n+1 implies :(n!)^{-1/n} \le \frac{\mathrm{e}}{n+1} for all n\ge1. Therefore, :MG(a_1,\dots,a_n) \le \frac{\mathrm{e}}{n(n+1)}\, \sum_{1\le k \le n} k a_k \, , whence :\sum_{n\ge1}MG(a_1,\dots,a_n) \le\, \mathrm{e}\, \sum_{k\ge1} \bigg( \sum_{n\ge k} \frac{1}{n(n+1)}\bigg) \, k a_k =\, \mathrm{e}\, \sum_{k\ge1}\, a_k \, , proving the inequality. Moreover, the inequality of arithmetic and geometric means of n non-negative numbers is known to be an equality
if and only if all the numbers coincide, that is, in the present case, if and only if a_k= C/k for k=1,\dots,n. As a consequence, Carleman's inequality is never an equality for a convergent series, unless all a_n vanish, just because the
harmonic series is divergent.
By Hardy’s inequality One can also prove Carleman's inequality by starting with
Hardy's inequality :\sum_{n=1}^\infty \left (\frac{a_1+a_2+\cdots +a_n}{n}\right )^p\le \left (\frac{p}{p-1}\right )^p\sum_{n=1}^\infty a_n^p for the non-negative numbers a_1, a_2,… and p > 1, replacing each a_n with a_n^{1/p}, and letting p \to \infty. ==Versions for specific sequences==