$p$ is a prime. Let $K_p$ be the set of all polynomials with coefficients from the set $\{0,1,\dots ,p-1\}$ and degree less than $p$. Assume that for all pairs of polynomials $P,Q\in K_p$ such that $P(Q(n))\equiv n\pmod p$ for all integers $n$, the degrees of $P$ and $Q$ are equal. Determine all primes $p$ with this condition.
Problem
Source: Turkey TST 2016 P9
Tags: number theory, polynomial
10.04.2016 18:45
Is it assuming $P, Q \in K_p$?
10.04.2016 18:47
Edited! Thank you
12.04.2016 14:45
This problem seems wrong to me, or maybe I'm mistaken somewhere. I can prove that if $P(Q(n)) \equiv n \pmod{p}$ for all integers $n$ then degrees of $P$ and $Q$ are $1$. I used the fact that: A polynomial $A(x) \equiv 0 \pmod{p}$ for all integers $x$ then its coefficients are all divisible by $p$. I applied this to consider the coefficient of the highest degree of $P(Q(n))$, which is $p_kq_l^{k}$ where $P(x)= \sum_{i=0}^k p_ix^i, \; Q(x)= \sum_{i=0}^lq_ix^i$ if $\max \{ \text{deg }P(x), \text{deg Q(x)} \} \ge 2$. I find $p \mid p_kq_l^k$ and since $q_i,p_i \in \{ 0, \cdots, p-1 \}$ we find a contradiction. Thus, $\max \{ \text{deg }P(x), \text{deg Q(x)} \} \le 1$.
12.04.2016 15:07
shinichiman wrote: A polynomial $A(x) \equiv 0 \pmod{p}$ for all integers $x$ then its coefficients are all divisible by $p$. This is only true when the degree of the polynomial is $\leq p-1$. For instance $x^p - x$ satisfies the statement. The correct version would be that sum of the coefficients of powers which share the same residue mod $p-1$ are divisible by $p$.
13.04.2016 04:54
28.05.2016 16:10
fractals wrote:
For $p=13$, the following satisfies \[ f(x)=x^5+5x^3+5x \quad \text{and} \quad g(x)=12x^9+4x^7+6x. \]
24.08.2017 13:15
crazyfehmy wrote: For $p=13$, the following satisfies \[ f(x)=x^5+5x^3+5x \quad \text{and} \quad g(x)=12x^9+4x^7+6x. \] May you explain how to find such an example? Since it is a math contest problem, I wonder is there any insight to find such an example by hand. I know that your $f(x) = D_{5}(x,-1) = x^5+5x^3+5x$ is a Dickson polynomial, but it seems not easy to compute its inverse polynomial by hand.