https://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Csum_%7Bj%3D1%7D%5Ek+%5Cfrac%7Bn_j%281-d_j%29%7D%7Bd_j%7D%3D-1%2C+&bg=ffffff&fg=333333&s=0