Problem

Source:

Tags: number theory, digit sum



Determine the number of positive integers $n \leq 1000$ such that the sum of the digits of $5n$ and the sum of the digits of $n$ are the same.