Skip to main content
OlympiadHQ

Browse · MathNet

Print

Baltic Way shortlist

Baltic Way number theory

Problem

Prove that there are infinitely many positive integers , which are not divisible by and such that where is the sum of digits of .
Solution
All integers of the form satisfy the condition. Indeed, if then In such a case , but .

Solution: Consider a sequence . Similarly to the original solution it is easy to check that if increases by then increases by , but increases by only.

Techniques

OtherIntegers