Let for $\mathrm{n}=1,2, \ldots, 50, \mathrm{~S}_{\mathrm{n}}$ be the sum of the infinite geometric progression whose first term is $\mathrm{n}^2$ and whose common ratio is $\frac{1}{(n+1)^2}$. Then the value of $\frac{1}{26}+\sum_{n=1}^{50}\left(S_n+\frac{2}{n+1}-n-1\right)$ is equal to