MathDB
Integer polynomial commutes with sum of digits

Source: 2016 IMO Shortlist N1

July 19, 2017
number theoryIMO Shortlistpolynomialfunctional equationsum of digits

Problem Statement

For any positive integer kk, denote the sum of digits of kk in its decimal representation by S(k)S(k). Find all polynomials P(x)P(x) with integer coefficients such that for any positive integer n2016n \geq 2016, the integer P(n)P(n) is positive and S(P(n))=P(S(n)).S(P(n)) = P(S(n)).
Proposed by Warut Suksompong, Thailand