square root / factor problem $(A/B)^{13} - (B/A)^{13}$ Let
$A=\sqrt{13+\sqrt{1}}+\sqrt{13+\sqrt{2}}+\sqrt{13+\sqrt{3}}+\cdots+\sqrt{13+\sqrt{168}}$ and
$B=\sqrt{13-\sqrt{1}}+\sqrt{13-\sqrt{2}}+\sqrt{13-\sqrt{3}}+\cdots+\sqrt{13-\sqrt{168}}$.
Evaluate $(\frac{A}{B})^{13}-(\frac{B}{A})^{13}$.
By Calculator, I have $\frac{A}{B}=\sqrt{2}+1$ and $\frac{B}{A}=\sqrt{2}-1$.
But, I don't know how. Has someone any idea about this.

This took me some time to solve. Here you go:
First, we find this:
$$\begin{aligned}
(\sqrt{13+\sqrt{a}}-\sqrt{13-\sqrt{a}})^2
&=13+\sqrt{a}+13-\sqrt{a}-2\sqrt{13+\sqrt{a}}\sqrt{13-\sqrt{a}}\\
&=2(13-\sqrt{169-a})
\end{aligned}$$
So,
$$\sqrt{13+\sqrt{a}}-\sqrt{13-\sqrt{a}}=\sqrt{2}\sqrt{13-\sqrt{169-a}}$$
By what we have, we write,
$A-B=\sqrt{2}B$
What I used here is the fact that I've summed over all $a$ from $1$ to $168$, and that summing with $\sqrt{169-a}$ is the same as summing with $\sqrt{a}$ in this question.
Now, we have $A=(1+\sqrt{2})B$
Thus, $\frac{A}{B}=1+\sqrt{2}$ and $\frac{B}{A}=\sqrt{2}-1$
We just calculate $(\frac{A}{B})^{13}$ and $(\frac{B}{A})^{13}$ which I believe is okay to be done using calculator. Else, comment so I can edit my answer.
