Skip to main content
OlympiadHQ

Browse · MathNet

Print

SAUDI ARABIAN MATHEMATICAL COMPETITIONS

Saudi Arabia algebra

Problem

For any positive integer , denote the sum of digits of in its decimal representation by . Find all polynomials with integer coefficients such that for any positive integer , the integer is positive and .
Solution
We consider the degree of polynomial :

Case 1: If then for some , the given condition becomes which holds if and only if .

Case 2: If . We notice that for all positive integers and the equality occurs when there is no carry in the addition . Let for and . Since for then must be positive. The given condition becomes for . Putting and , we get We also have These imply that , as , this holds only when . Then we have .

1. If then choose such that for some big enough then all digits of are then the left hand side is . Also note that is a positive integer less than , then , which means , a contradiction.

2. If , similarly, we also come to a contradiction.

Thus and , which is trivially satisfied.

Case 3: If then the leading term of is with , then similarly we have . Choose for some big enough, then .

Since grows approximately as while grows approximately as a constant multiple of , the given equality cannot hold for sufficiently large since .

In conclusion, for some or , .
Final answer
P(x) = x or P(x) = c for c in {1, 2, 3, 4, 5, 6, 7, 8, 9}

Techniques

Polynomial operationsFunctional EquationsOtherIntegers