Sam buys an eight-year, 5000 par bond with an annual coupon rate of 5%, paid annually. The bond sells for 5000. Let $d_1$ be the Macaulay duration just before the first coupon is paid. Let $d_2$ be the Macaulay duration just after the first coupon is paid. Calculate $\dfrac{d_1}{d_2}$.
Solution: According to SOA solutions, "This solution employs the fact that when a coupon bond sells at par the duration equals the present value of an annuity-due.
To be honest I don't know why is that so. But suppose that a bond is not selling for par value, how can I solve for the duration of each coupon payment? Should I stick with the definition $$D_{mac} = \dfrac{\sum_{t \in N} tv^tR_t}{\sum_{t \in N}v^tR_t}$$ where $N$ is the set of positive integers and $R_t$ is the payment at time $t?$
I try doing it for $d_0$ in the above problem, but I'm getting $0$ as $t=0$ using the definition.
Any alternatives?