Browse · MathNet
Print74th NMO Selection Tests for JBMO
Romania number theory
Problem
For any positive integer , define , where represents the sum of the digits of the natural number , and is the fractional part of the real number .
a) Prove that there exist infinitely many positive integers such that .
b) Determine the smallest positive integer such that .
a) Prove that there exist infinitely many positive integers such that .
b) Determine the smallest positive integer such that .
Solution
a. If and is odd, then . The only solutions with these properties are of the form , with .
b. Let be a positive integer such that . Since , we infer that (1). From here follows that , therefore . Consider and , with positive integers. From (1) we deduce that , hence . Consequently , with and , therefore .
Consider , with a positive integer. From (1) we obtain , hence . Consider , with a positive integer. It follows that and , and the minimal sum of the digits of the natural number is 54.
The smallest positive integer with the sum of its digits 54 is .
But , hence is not a solution. The next positive integer with the sum of its digits 54 is , for which we have , therefore .
b. Let be a positive integer such that . Since , we infer that (1). From here follows that , therefore . Consider and , with positive integers. From (1) we deduce that , hence . Consequently , with and , therefore .
Consider , with a positive integer. From (1) we obtain , hence . Consider , with a positive integer. It follows that and , and the minimal sum of the digits of the natural number is 54.
The smallest positive integer with the sum of its digits 54 is .
But , hence is not a solution. The next positive integer with the sum of its digits 54 is , for which we have , therefore .
Final answer
1899999
Techniques
Modular ArithmeticFloors and ceilings