OMM 2012 Problem 4
The following process is applied to each positive integer: the sum of its digits is subtracted from the number, and the result is divided by . For example, the result of the process applied to is , since Applying the process twice to the result is , applied three times the result is , and applying it four times the result is . When the process is applied one or more times to an integer , the result is eventually . The number obtained before obtaining is called the house of .
How many integers less than share the same house as ?
Dataset text AI-MO AoPS. Quoted with source.
Solutions
No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.