Skip to main content
OlympiadHQ

Browse · MathNet

Print

The South African Mathematical Olympiad Third Round

South Africa number theory

Problem

For a positive integer , denotes the sum of its digits and its unit digit. Determine all positive integers with the property that
Solution
Write as , where are the digits of . Then the stated equation is equivalent to or The right hand side is at most . Therefore, have to be 0 (otherwise, the left hand side would be strictly greater than the right hand side). Hence we obtain It follows that must be divisible by 3 (since is), which leaves us with the possibilities (), () and (). So there are three solutions: 13, 46 and 99.
Final answer
13, 46, 99

Techniques

OtherIntegers