The classical discrete Hardy's inequality asserts that
If $(a_n)_{n=1}^\infty$ is a sequence nonnegative real numbers not identically to zero, then $$\sum_{n=1}^\infty \left( \frac{a_1+...+a_n}{n} \right)^p \leq \bigg( \frac{p}{p-1}\bigg)^p \sum_{n=1}^\infty a_n^p.$$
Here comes my question.
Question: When will the inequality becomes equality?
Most searches leads me to integral Hardy's inequality, and the inequality there becomes equality when $f$ vanishes almost everywhere.
However, I could not obtain a single search that discusses my question here.
If you look, as Giuseppe Negro suggested, into Hardy-Littlewood-Polya, you will find this stated as
Let me sketch the proof here and indicate where the strict inequality arises.