What is the height of a tree with recursion formula: $T(n) = T(n - \sqrt{n})$
Clearly T(n) = T(0) for all n. Which is constant, not linear. Is that really the question you wanted to ask?

And I just see a mathematical relation. I can’t see any recursion or tree or algorithm here.