While reading through my (algorithms and) probability script, I have seen this equality for calculating the first moment of the coupon-collector problem. However, I don't quite see how the sum of the fraction on the left can be split up in such a way, that the sum of the fraction on the right is equal to it. $$\sum_{i=1}^n\frac n{n-i+1}=n\sum_{i=1}^n\frac1i$$ I assume it is about partial fraction decomposition, but I don't know how to apply it here.
2026-02-23 13:46:13.1771854373
Why is $\sum_{i=1}^n\frac n{n-i+1}=n\sum_{i=1}^n\frac1i$?
55 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
It's just reverse summation order:
$$\sum_{i=1}^n \frac1i = 1 + \frac12 + \frac13 + ... + \frac1n$$ $$\sum_{i=1}^n \frac1{n-i+1} = \frac1n + \frac1{n-1} + \frac1{n-2} + ... + 1.$$