Skip to main content
OlympiadHQ

Browse · MathNet

Print

SAUDI ARABIAN IMO Booklet 2023

Saudi Arabia 2023 algebra

Problem

for with is the product of all of digits of . Prove that there exist such that for any .
Solution
Let be a positive integer. Define , where is the product of all digits of .

Observe that if contains a digit , then , so . Thus, the sequence becomes constant from that point onward.

Suppose does not contain any digit . Then , so . However, as increases, eventually will contain a digit (since for any fixed , the sequence increases and eventually reaches a number with a digit).

Once contains a digit, , so , and the sequence remains constant.

Therefore, there exists such that for all .
Final answer
null

Techniques

Recurrence relationsOther