Problem

Source: IMO Shortlist 2013, Algebra 6

Tags: algebra, polynomial, IMO Shortlist



Let $m \neq 0 $ be an integer. Find all polynomials $P(x) $ with real coefficients such that \[ (x^3 - mx^2 +1 ) P(x+1) + (x^3+mx^2+1) P(x-1) =2(x^3 - mx +1 ) P(x) \] for all real number $x$.