Even polynomial having multiple with odd coefficients

arithmeticmodular arithmeticpolynomials

Let $Q \in \mathbb{Z}/2\mathbb{Z}[X]$ be a non constant polynomial such that all coefficients of odd order are $0$, i.e. $Q = \sum a_k X^{2k}$. Show that if $P \in \mathbb{Z}/2\mathbb{Z}[X]$ is such that all the coefficients of $PQ$ are odd, then the degree of $P$ is odd.

This is a conjecture that I made. I believe it is true but have no proof for it.


At first I thought that no multiples of $Q$ could have all coefficients odd. I quickly found counterexamples : $$(1+X^2)*(1+X) = 1+X+X^2+X^3$$

and more generally, for any even $n$, $$\Big(\sum \limits_{k=0}^m X^{kn}\Big)\cdot \Big(\sum\limits_{k=0}^{m-1} X^k\Big) = \sum \limits_{k=0}^{(m+1)n-1} X^k$$

I also found weirder counterexamples, like $$(1+X^4+X^6)(1+X+X^2+X^3+X^6+X^7)=\sum\limits_{k=0}^{13} X^k + 2X^7+2X^6$$

I could not find polynomials with odd degree. I tried to work in $\mathbb{Z}/2\mathbb{Z}$ and get information on the coefficients but it was not really conclusive. If $Q$ can be written $\sum\limits_{k=0}^m X^{kn}$ for some even $n$, then I have a proof, but in the general case, the coefficients of $Q$ can be quite random (see my last example).

$ $

*Note: this problem arose during a math contest, which ended on 04/11/2018

Best Answer

It's true in general. It suffices to show that $PQ$ has odd degree. Suppose to the contrary that there exist some $P,Q\in\mathbb F_2[x]$ subject to the constraints outlined in the OP for which $PQ=1+x+\cdots+x^{2n}=\frac{x^{2n+1}-1}{x-1}$. Observe by Frobenius that $\sum a_kx^{2k}=\left(\sum a_kx^k\right)^2$ in $\mathbb F_2[x]$. We shall prove that $1+x+\cdots+x^{2n}$ is squarefree; this clearly implies the result. Indeed, \begin{align*}\gcd\left(1+x+\cdots+x^{2n},\left(1+x+\cdots+x^{2n}\right)'\right)&=\gcd\left(1+x+\cdots+x^{2n},1+x^2+\cdots+x^{2n-2}\right)\\&=\gcd\left(1+x+\cdots+x^{2n},\left(1+x+\cdots+x^{n-1}\right)^2\right)\\&=\gcd\left(\tfrac{x^{2n+1}-1}{x-1},\left(\tfrac{x^{n}-1}{x-1}\right)^2\right)=1\end{align*} Where the last equality follows from the identity $\gcd(x^m-1,x^n-1)=x^{\gcd(m,n)}-1$ $\blacksquare$