Solution posted. See page 10. \dfrac{n}{d}\left(\dfrac{n}{d}+1\right)\,|\,n(n+1) was what I overlooked. Thanks.