Problem

Source: Romanian JBMO TST 2000, day 1, p. 2

Tags: modular arithmetic, algebra, number theory, base 10



Find all natural numbers $ n $ for which there exists two natural numbers $ a,b $ such that $$ n=S(a)=S(b)=S(a+b) , $$where $ S(k) $ denotes the sum of the digits of $ k $ in base $ 10, $ for any natural number $ k. $ Vasile Zidaru and Mircea Lascu