Find all polynomials $p(x) \in \mathbb{Z}[x]$ such that for all positive integers $n,$ we have that $p(n)$ is a Palindrome number. Palindrome numbers: A number $q$ written in base $10$ is called a Palindrome number, if $q$ reads the same from left to right, as it reads from right to left. For example : $121, -123321$ are Palindrome numbers, but $113$ is not a Palindrome number. (Proposed by Aditya Guha Roy (India) and Fedor Petrov (Russia))
Problem
Source: Mathlinks Contest 2020, Problem 2
Tags: algebra, polynomial, mathlinks
13.07.2020 02:57
13.07.2020 05:43
If $p(x)$ is non-constant,$ p(10x)$ has to be constant $(\mod 10),$ so $p(10x)$ ends in a constant digit $d$ for sufficiently large $x.$ However, the first digit of $p(10x)$ has to be a digit other than $d$ infinitely many times, since polynomials do not increase fast enough to skip over the numbers with first digit other than $d $ (this could be made a bit more rigorous by considering the $\mathrm {limit}_{x\mapsto\infty}\frac {p(10x+10)}{p(10x)} $ So $p(10x)$ is not always a palindrome if $p(x)$ is non-constant. So the only polynomials that satisfy the given conditions are constant polynomials $p(x) = c,$ where $c$ is itself a palindrome.
14.07.2020 10:39
Another solution Claim- There is no non-constant $p(x)\in\mathbb Z[x] $ such that $\forall\,n\in\mathbb N.$ First and last digit of $p(n) $ is same. Proof- Assume that there is a polynomial with the above property. $P(x)=\sum_{i=0}^n a_i x_i\,\left(n\in\mathbb N*\, ,a_n\ne 0\right) $ $\mathrm {WLOG},$ let $a_n>0$ There exists a number $N_0\in\mathbb N$ . $(\star) \, \left|\sum_{i=0}^{n-1}a_i 20^{N_0}\right|< 20^{N_0 n-1} $ $(\bullet)\,\sum_{i=0}^{n-1} a_i 20^{N_0 i} $ will be the same sign $\forall\, m\ge N_0$ Consider the $2$ cases $\sum_{i=0}^{n-1} a_i 20^{m_i}\ge 0\,\forall\, m\ge N_0$ Assume that $a_n 2^m $ has $k_m $ digits. Because $(\star) $ $p(20^m) $ and $a_n\cdot 2^m $ have the same first $k_m $ digits$\,\implies a_n\cdot 2^m $ will have the first digit $=a_0^{'}\text {s} $ last digit $\,\forall\,m\in N_0.$ But $a_n\cdot 2^m $ and $a_n\cdot 2^{m+1} $ always have different first digit $\implies\text {contradiction}.$ Note that, $\sum_{i=0}^{n-1}a_i\cdot 20^{m_i}< 0\,\forall\, m\ge N_0$ Assume that $a_n\cdot 2^m-1$ have $k_m $ digits. Because of $(\bullet)\,P(20^m) $ and $a_n\cdot 2^{m}-1$ have the same first $k_m $ digits. $a_n\cdot 2^m-1$ will have the first digit $=a_0^{'}\text {s} $ last digit $\,\forall\, m\ge N_0$ But $a_n\cdot 2^m-1$ and $a_n\cdot 2^{m+1}-1$ always have different first digit.
16.07.2020 20:01
dangerousliri wrote: Find all polynomials $p(x) \in \mathbb{Z}[x]$ such that for all positive integers $n,$ we have that $p(n)$ is a Palindrome number. Palindrome numbers: A number $q$ written in base $10$ is called a Palindrome number, if $q$ reads the same from left to right, as it reads from right to left. For example : $121, -123321$ are Palindrome numbers, but $113$ is not a Palindrome number. (Proposed by Aditya Guha Roy (India) and Fedor Petrov (Russia))