Let $T_n = \frac{n(n+1)}{2}$, the $n$th triangular number. What is the sum $$\sum_{n=1}^{9999}\sqrt{\sqrt{T_n+\frac{1}{8}}-\sqrt{T_n}}\hspace{0.4cm}?$$
I have tried simplifying the expression inside the outer square root by substituting $A=T_N+\frac{1}{16}$ to get $\sqrt{A+\frac{1}{16}} - \sqrt{A-\frac{1}{16}}$ and hopefully remove some square roots, but that didn't yield anything meaningful.