Find all polynomials $p$ with integer coefficients such that the number $p(a) - p(b)$ is divisible by $a + b$ for all integers $a, b$, provided that $a + b \neq 0$.
Problem
Source: Baltic Way 2021, Problem 19
Tags: number theory, number theory proposed, Polynomials
15.11.2021 21:25
Let $P(a,b): \implies a+b \mid p(a)-p(b)$ We know $a+b \mid p(a)-p(-b)$ So subtracting this result with $P(a,b)$, we get $$a+b \mid p(b)-p(-b)$$Now fixing $b$ and varying $a$ over the integers, we get that $p(b)-p(-b)$ has infinitely many divisors. So $p(b)=p(-b)$ Or $\boxed{p(b)=\sum_{i=0}^{n}a_ix^{2i}}$ where $a_n \neq 0$ and $n \in \mathbb{N}$. Now check that $p(a)-p(b)= \sum_{i=0}^{n}a_i\{(a^2)^i-(b^2)^i\}=(a+b)\sum_{i=0}^{n}a_iF_i$ where $F_i \in \mathbb{Z}$.
15.11.2021 21:44
15.11.2021 21:55
Andrew_Dou wrote: For $a+b \mid \sum_{k=0}^n i_k(a^{n-k}+b^{n-k}),$ $a=-b$ must result in $\sum_{k=0}^n i_k(a^{n-k}+b^{n-k})=0.$ Here I have a question. How can you take $a=-b$ as question says for all $a,b$ s.t. $a+b \neq 0$
16.11.2021 03:35
16.11.2021 18:43
Let $\textstyle P(x) = \sum_{0\le k\le d}\alpha_k x^k$. We claim $P$ satisfies the given condition iff $\alpha_k =0$ for all $k\equiv 1\pmod{2}$. Observe that trivially $b\equiv -a\pmod{a+b}$, hence $P(b)\equiv P(-a)\pmod{a+b}$, and thus we are left with the condition \[ a+b \mid \sum_{0\le k\le d}\alpha_k\left(a^k-(-a)^k\right). \]We then see straightforwardly that this holds if $\alpha_k =0$ for all $k$ odd. Now, assume $P$ is such that the set, $I=\{i:i\equiv 1\pmod{2},\alpha_i\ne 0\}$, is non-empty. Then we show $P$ does not satisfy the condition. Note that keeping $a$ fixed and ensuring $b\ne -a$, we have \[ a+b \mid \sum_{i\in I}2\alpha_i a^i. \]Note that the polynomial $\textstyle Q(x) = \sum_{i\in I}2\alpha_i x^i$ is clearly not a zero polynomial (as its coefficients are non-zero), and thus for a sufficiently large integral $a$, $\textstyle \sum_{i\in I}2\alpha_i a^i\ne 0$. Having chosen $a$ in this way, and then setting $b$ such that \[ |a+b| > \left|\sum_{i\in I}2\alpha_i a^i\right|, \]we immediately obtain a contradiction.
17.11.2021 19:47
Andrew_Dou wrote:
This is true, but not at all obvious. Indeed, I think it is essentially equivalent to the original problem (so it it not that helpful to "reduce" to this fact).
17.11.2021 19:55
I see... I will add that to my post then, thank you for the advice.
18.11.2021 10:44
Note that $(a-(-b)) \mid p(a)-p(-b)$, hence $(a+b) \mid (p(b)-p(-b))$ for all $a \neq -b$, so by fixing $b$ and taking $a$ to be pretty large, we obtain that $p(b)=p(-b)$ for all $b$. Let $p(x)=\sum_{i=0}^{n} a_i x^{i}$. Then, $p(x)=p(-x) \Rightarrow \sum_{i=0}^{n} a_i(x^{i}-(-x)^{i})=0$ Since the polynomial in the LHS is zero, $a_i$ must be equal to zero for all odd $i$, since otherwise we would have at least one non-zero parenthesis, absurd. Thus, $p$ can be any polynomial such that all coefficients of odd powers are zero. It is straightforward to check that all these polynomials indeed satisfy the given condition.