$\frac{\sqrt{31+\sqrt{31+\sqrt{31+ \cdots}}}}{\sqrt{1+\sqrt{1+ \sqrt{1+ \cdots}}}}=a-\sqrt b$ where $a,b$ are natural numbers. Find the value of $a+b$.
I am not able to proceed with solving this question as I have no idea as to how I can calculate $\frac{\sqrt{31+\sqrt{31+\sqrt{31+ \cdots}}}}{\sqrt{1+\sqrt{1+ \sqrt{1+ \cdots}}}}$. A small hint would do.