MathCastle
Number TheoryChallengeDigits and Bases

Digits and Bases · Challenge problem

There is exactly one positive integer nn with n+S(n)=2026n + S(n) = 2026, where S(n)S(n) is the sum of the digits of nn. Find it.