Skip to main content
OlympiadHQ

Browse · MathNet

Print

14th Turkish Mathematical Olympiad

Turkey number theory

Problem

Find all positive integers for which every coefficient of the polynomial is divisible by .
Solution
Using the fact that for all polynomials with integer coefficients and for all positive integers , we see that the integers and with satisfy the condition of the problem.

Now we will show that if is not of this form, then it does not satisfy the condition of the problem. Without loss of generality we may assume that is not divisible by .

As , the coefficient of in is . If , then . Let and be integers such that and . Then we have

the following set of congruences modulo : (In the last congruence we used the fact that .) Putting these together we get Since is not divisible by , the coefficient of in is not divisible by .
Final answer
All positive integers n of the form n = 7^k or n = 7^k + 7^l with 0 ≤ k ≤ l.

Techniques

Polynomials mod pPolynomial operations