Define $\text{sdig}(n)$ to be the sum of the decimal digits of $n$, where $n$ is a positive integer. My question is as follows:
Does there exist a function $h:\mathbb Z^+\mapsto\mathbb Z^+$ such that $$(h\circ h)(n)=\text{sdig}(n)$$ for all $n\in\mathbb Z^+$? That is, does there exist a functional square root of the digit sum function?
So far, this problem has stumped me. I've shown that if such $h$ exists, it must commute with the digit sum function. I've also shown that if $S_a$ is the set of numbers whose digit sum is $a$, then for all $a$, there exists some $b$ such that the function $h$ maps all elements of $S_a$ to elements of $S_b$. However, whether these discoveries lead to the construction of such a function or the proof of its nonexistence I do not know.
Any ideas?