Problem

Source:

Tags: number theory



For any natural number $n$, expressed in base 10 , let $s(n)$ denote the sum of all its digits. Find all natural numbers $m$ and $n$ such that $m<n$ and $$ (s(n))^2=m \text { and }(s(m))^2=n . $$