Problem

Source: AllRussian-2014, Grade 9, day2, P1

Tags: number theory proposed, number theory



Define $m(n)$ to be the greatest proper natural divisor of $n\in \mathbb{N}$. Find all $n \in \mathbb{N} $ such that $n+m(n) $ is a power of $10$. N. Agakhanov