I have this recurrence relation to solve :
$T(n) = T(\sqrt n) + 1 $
I have tried to expand the recursion but I stopped here:
\begin{align} T(n) &= T(n^{\frac12})+1\\ &= T(n^{\frac14})+1+1\\ &\text{after $i$ replacements I have}\\ &= T(n^{\frac1{2^i}}) + i\\ \end{align} I know that $T(1) = 1$
And now? How can I get to the solution?