This question came in my class test in an MCQ format.
$\DeclareMathOperator{\N}{\mathbb N}$ Let $X=\{x\in\mathbb R^+: \tan(\sqrt{x})= x\}$. Consider the sequence $(b_n)_{n\in\N}$ of real numbers defined by $b_1=\inf(X)$, $b_{n+1}=\inf (X\setminus\{b_1,b_2,\ldots, b_{n}\})$. Does the series $\sum_{n=1}^\infty \frac{1}{b_n}$ converge?
I looked at the graph of $y=\tan\sqrt{x}$, it cuts the line $y=x$ exactly once in every interval of the form $\big(\left(\frac{\pi}{2}+n\pi\right)^2,\left(\frac{3\pi}{2}+n\pi\right)^2\big)$. Thus, each $b_n>\left((2n+1)\frac\pi2\right)^2$ so, by comparison test with $\sum \frac{1}{n^2}$, it follows that $\sum \frac{1}{b_n}$ converges.
My question is: How do I prove that there are countably many fixed points of $\tan\sqrt{x}$ and exactly one each in intervals of the form $I_n=\big(\left(\frac{\pi}{2}+n\pi\right)^2,\left(\frac{3\pi}{2}+n\pi\right)^2\big)$?
I made various attempts. I observed that $\tan\sqrt{\cdot}:I_n\to\mathbb R$ is a continuous surjection and that it's a composition of two strictly increasing functions. However, this doesn't seem to get anywhere.
Another thought I have is that $\tan\sqrt{x}=x$ may be equivalently written as $f(x)=0$ for some function $f$ s.t. $f'(x)=0\implies x\in \{\big(\frac{\pi}2+n\pi\big)^2:n\in\mathbb Z\}$. By application Rolle's theorem, we would conclude that there is exactly one root of $f$ between every pair of consecutive roots of $f'$.