Value of $\frac{\sqrt{10+\sqrt{1}}+\sqrt{10+\sqrt{2}}+\cdots+\sqrt{10+\sqrt{99}} }{\sqrt{10-\sqrt{1}}+\sqrt{10-\sqrt{2}}+\cdots+\sqrt{10-\sqrt{99}}}$ Here is the question:

$$\frac{\sqrt{10+\sqrt{1}}+\sqrt{10+\sqrt{2}}+\cdots+\sqrt{10+\sqrt{99}} }{\sqrt{10-\sqrt{1}}+\sqrt{10-\sqrt{2}}+\cdots+\sqrt{10-\sqrt{99}}} = \;?$$

(original image)
I think we need to simplify it writing it in summation sign as you can see here:
$$\frac{\sum\limits_{n=1}^{99} \sqrt{10 + \sqrt{n}}}{\sum\limits_{n=1}^{99} \sqrt{10 - \sqrt{n}}}$$
or in Wolfram Alpha input in comments.
I can compute it too! It's easy to write a script for this kind of question.
I need a way to solve it. How would you solve it on a piece of paper?

Rewrite the sum as
$$\frac{\sum_{n=1}^{99} \sqrt{10+\sqrt{n}}}{\sum_{n=1}^{99} \sqrt{10-\sqrt{n}}} = \frac{a}{b}$$
then let
$$\Delta_n = \sqrt{10+\sqrt{n}} - \sqrt{10-\sqrt{n}}$$
By squaring $\Delta_n$ and simplifying we get
$$\Delta_n = \sqrt{2} \sqrt{10 - \sqrt{100-n}}$$
Now summing all those $\Delta_n$s can be done by letting the index $n$ run from $1$ to $99$ and replacing $\sqrt{100-n}$ with $\sqrt{n}$ since both cases will yield the same summands. Hence
$$\sum_{n=1}^{99} \Delta_n = \sqrt{2} \sum_{n=1}^{99}\sqrt{10 - \sqrt{n}} = \sqrt{2} \cdot b$$
thus
$$\frac{a-b}{b} = \frac{a}{b} - 1 = \sqrt{2} \implies \frac{a}{b} = \sqrt{2} + 1$$
