Skip to main content
Added remark on higher degree case.
Source Link

Francesco Polizzi's idea is enough to solve the problem:

Lemma. Let $f = ax^3 + bx^2 + cx + d \in \mathbf Z_{\geq 0}[x]$ nonconstant with $d > 0$, such that $f(1)$ is a prime $p > 2$. Then $f$ is irreducible in $\mathbf Z[x]$.

Proof. Suppose $f = gh$ for $g,h \in \mathbf Z[x]$; we must show that $g \in \{\pm 1\}$ or $h \in \{\pm 1\}$.

First assume $\deg g > 0$ and $\deg h > 0$. Since $\deg f \leq 3$, without loss of generality we may assume $\deg g = 1$ and $m = \deg h \in \{1,2\}$; say \begin{align*} g = ux + v, & & h = \alpha x^2 + \beta x + \gamma , \end{align*} with $u > 0$ and $\alpha > 0$ or $\alpha = 0$ and $\beta > 0$. If $v \leq 0$, then $f$ has a nonnegative real root, which is impossible because $f$ has non-negative coefficients and $f(0) > 0$. Thus, $v > 0$, and therefore $g(1) \geq 2$, forcing $g(1) = p$ and $h(1) = 1$. By symmetry, this rules out the case $\deg h = 1$. Thus, we may assume $\alpha > 0$. The formulas \begin{align*} a = \alpha u, & & b = \beta u + \alpha v, & & c = \gamma u + \beta v, & & d = \gamma v \end{align*} give \begin{align*} \alpha > 0, & & \alpha v \geq -\beta u, & & \gamma u \geq -\beta v, & & \gamma > 0.\label{1}\tag{1} \end{align*} We will show that $h(1) \geq 2$, contradicting the earlier assertion that $h(1) = 1$. This is clear if $\beta \geq 0$, since we already have $\alpha > 0$ and $\gamma > 0$. If $\beta < 0$, then \eqref{1} shows $$\frac{\gamma}{-\beta} \geq \frac{v}{u} \geq \frac{-\beta}{\alpha} > 0,\label{2}\tag{2}$$ hence \begin{align*} h(1) = \alpha + \beta + \gamma &= \left(1 - \left(\frac{-\beta}{\alpha}\right) + \left(\frac{\gamma}{-\beta}\right)\left(\frac{-\beta}{\alpha}\right)\right)\alpha\\ &\geq \left(1 - \left(\frac{-\beta}{\alpha}\right) + \left(\frac{-\beta}{\alpha}\right)^2 \right)\alpha. \end{align*} The function $1-x+x^2$ attains a minimum of $\tfrac{3}{4}$ at $x = \tfrac{1}{2}$, and is bigger than $1$ on $(1,\infty)$. Thus, we only have to consider $x = \tfrac{-\beta}{\alpha} \in (0,1]$. For $x < 1$, we must have $\alpha \geq 2$, so $(1-x+x^2)\alpha \geq \tfrac{3}{2} > 1$. Finally, for $x = 1$, i.e. $\beta = -\alpha$, \eqref{2} shows that $v \geq u$. Since $p = v+u$ is odd, we must have $v > u$, so \eqref{2} gives $\gamma > -\beta$, so $h(1) = \gamma \geq 2$.

Thus, we conclude that $\deg g = 0$ or $\deg h = 0$; say $g = n$ for $n \in \mathbf Z_{>0}$ without loss of generality. If $n > 1$, then $n = p$, which is impossible since $f(0) = d \in \{1, \ldots, p-1\}$ is not divisible by $p$. So we conclude that $g = 1$. $\square$

Remark. The argument above relies crucially on the assumption $\deg f \leq 3$. More importantly, for higher degree polynomials the same result is false without a lower bound on $p$ that grows at least linearly in $\deg f$:

Example. Let $p$ be an odd prime. Then the polynomial $f = x^{2p-2} + x^{2p-4} + \ldots + x^2 + 1$ has $f(1) = p$, but it factors as $$\Big(x^{p-1}+x^{p-2}+\ldots+x+1\Big)\Big(x^{p-1}-x^{p-2}+\ldots-x+1\Big).$$ Indeed, the above reads $$\zeta_p(x^2) = \zeta_p(x)\zeta_{2p}(x) = \zeta_p(x)\zeta_p(-x),$$ which is true because both sides are monic and have the same roots in $\mathbf C$ (namely the $2p^\text{th}$ roots of unity except $\pm 1$, all with multiplicity $1$).

Francesco Polizzi's idea is enough to solve the problem:

Lemma. Let $f = ax^3 + bx^2 + cx + d \in \mathbf Z_{\geq 0}[x]$ nonconstant with $d > 0$, such that $f(1)$ is a prime $p > 2$. Then $f$ is irreducible in $\mathbf Z[x]$.

Proof. Suppose $f = gh$ for $g,h \in \mathbf Z[x]$; we must show that $g \in \{\pm 1\}$ or $h \in \{\pm 1\}$.

First assume $\deg g > 0$ and $\deg h > 0$. Since $\deg f \leq 3$, without loss of generality we may assume $\deg g = 1$ and $m = \deg h \in \{1,2\}$; say \begin{align*} g = ux + v, & & h = \alpha x^2 + \beta x + \gamma , \end{align*} with $u > 0$ and $\alpha > 0$ or $\alpha = 0$ and $\beta > 0$. If $v \leq 0$, then $f$ has a nonnegative real root, which is impossible because $f$ has non-negative coefficients and $f(0) > 0$. Thus, $v > 0$, and therefore $g(1) \geq 2$, forcing $g(1) = p$ and $h(1) = 1$. By symmetry, this rules out the case $\deg h = 1$. Thus, we may assume $\alpha > 0$. The formulas \begin{align*} a = \alpha u, & & b = \beta u + \alpha v, & & c = \gamma u + \beta v, & & d = \gamma v \end{align*} give \begin{align*} \alpha > 0, & & \alpha v \geq -\beta u, & & \gamma u \geq -\beta v, & & \gamma > 0.\label{1}\tag{1} \end{align*} We will show that $h(1) \geq 2$, contradicting the earlier assertion that $h(1) = 1$. This is clear if $\beta \geq 0$, since we already have $\alpha > 0$ and $\gamma > 0$. If $\beta < 0$, then \eqref{1} shows $$\frac{\gamma}{-\beta} \geq \frac{v}{u} \geq \frac{-\beta}{\alpha} > 0,\label{2}\tag{2}$$ hence \begin{align*} h(1) = \alpha + \beta + \gamma &= \left(1 - \left(\frac{-\beta}{\alpha}\right) + \left(\frac{\gamma}{-\beta}\right)\left(\frac{-\beta}{\alpha}\right)\right)\alpha\\ &\geq \left(1 - \left(\frac{-\beta}{\alpha}\right) + \left(\frac{-\beta}{\alpha}\right)^2 \right)\alpha. \end{align*} The function $1-x+x^2$ attains a minimum of $\tfrac{3}{4}$ at $x = \tfrac{1}{2}$, and is bigger than $1$ on $(1,\infty)$. Thus, we only have to consider $x = \tfrac{-\beta}{\alpha} \in (0,1]$. For $x < 1$, we must have $\alpha \geq 2$, so $(1-x+x^2)\alpha \geq \tfrac{3}{2} > 1$. Finally, for $x = 1$, i.e. $\beta = -\alpha$, \eqref{2} shows that $v \geq u$. Since $p = v+u$ is odd, we must have $v > u$, so \eqref{2} gives $\gamma > -\beta$, so $h(1) = \gamma \geq 2$.

Thus, we conclude that $\deg g = 0$ or $\deg h = 0$; say $g = n$ for $n \in \mathbf Z_{>0}$ without loss of generality. If $n > 1$, then $n = p$, which is impossible since $f(0) = d \in \{1, \ldots, p-1\}$ is not divisible by $p$. So we conclude that $g = 1$. $\square$

Francesco Polizzi's idea is enough to solve the problem:

Lemma. Let $f = ax^3 + bx^2 + cx + d \in \mathbf Z_{\geq 0}[x]$ nonconstant with $d > 0$, such that $f(1)$ is a prime $p > 2$. Then $f$ is irreducible in $\mathbf Z[x]$.

Proof. Suppose $f = gh$ for $g,h \in \mathbf Z[x]$; we must show that $g \in \{\pm 1\}$ or $h \in \{\pm 1\}$.

First assume $\deg g > 0$ and $\deg h > 0$. Since $\deg f \leq 3$, without loss of generality we may assume $\deg g = 1$ and $m = \deg h \in \{1,2\}$; say \begin{align*} g = ux + v, & & h = \alpha x^2 + \beta x + \gamma , \end{align*} with $u > 0$ and $\alpha > 0$ or $\alpha = 0$ and $\beta > 0$. If $v \leq 0$, then $f$ has a nonnegative real root, which is impossible because $f$ has non-negative coefficients and $f(0) > 0$. Thus, $v > 0$, and therefore $g(1) \geq 2$, forcing $g(1) = p$ and $h(1) = 1$. By symmetry, this rules out the case $\deg h = 1$. Thus, we may assume $\alpha > 0$. The formulas \begin{align*} a = \alpha u, & & b = \beta u + \alpha v, & & c = \gamma u + \beta v, & & d = \gamma v \end{align*} give \begin{align*} \alpha > 0, & & \alpha v \geq -\beta u, & & \gamma u \geq -\beta v, & & \gamma > 0.\label{1}\tag{1} \end{align*} We will show that $h(1) \geq 2$, contradicting the earlier assertion that $h(1) = 1$. This is clear if $\beta \geq 0$, since we already have $\alpha > 0$ and $\gamma > 0$. If $\beta < 0$, then \eqref{1} shows $$\frac{\gamma}{-\beta} \geq \frac{v}{u} \geq \frac{-\beta}{\alpha} > 0,\label{2}\tag{2}$$ hence \begin{align*} h(1) = \alpha + \beta + \gamma &= \left(1 - \left(\frac{-\beta}{\alpha}\right) + \left(\frac{\gamma}{-\beta}\right)\left(\frac{-\beta}{\alpha}\right)\right)\alpha\\ &\geq \left(1 - \left(\frac{-\beta}{\alpha}\right) + \left(\frac{-\beta}{\alpha}\right)^2 \right)\alpha. \end{align*} The function $1-x+x^2$ attains a minimum of $\tfrac{3}{4}$ at $x = \tfrac{1}{2}$, and is bigger than $1$ on $(1,\infty)$. Thus, we only have to consider $x = \tfrac{-\beta}{\alpha} \in (0,1]$. For $x < 1$, we must have $\alpha \geq 2$, so $(1-x+x^2)\alpha \geq \tfrac{3}{2} > 1$. Finally, for $x = 1$, i.e. $\beta = -\alpha$, \eqref{2} shows that $v \geq u$. Since $p = v+u$ is odd, we must have $v > u$, so \eqref{2} gives $\gamma > -\beta$, so $h(1) = \gamma \geq 2$.

Thus, we conclude that $\deg g = 0$ or $\deg h = 0$; say $g = n$ for $n \in \mathbf Z_{>0}$ without loss of generality. If $n > 1$, then $n = p$, which is impossible since $f(0) = d \in \{1, \ldots, p-1\}$ is not divisible by $p$. So we conclude that $g = 1$. $\square$

Remark. The argument above relies crucially on the assumption $\deg f \leq 3$. More importantly, for higher degree polynomials the same result is false without a lower bound on $p$ that grows at least linearly in $\deg f$:

Example. Let $p$ be an odd prime. Then the polynomial $f = x^{2p-2} + x^{2p-4} + \ldots + x^2 + 1$ has $f(1) = p$, but it factors as $$\Big(x^{p-1}+x^{p-2}+\ldots+x+1\Big)\Big(x^{p-1}-x^{p-2}+\ldots-x+1\Big).$$ Indeed, the above reads $$\zeta_p(x^2) = \zeta_p(x)\zeta_{2p}(x) = \zeta_p(x)\zeta_p(-x),$$ which is true because both sides are monic and have the same roots in $\mathbf C$ (namely the $2p^\text{th}$ roots of unity except $\pm 1$, all with multiplicity $1$).

Easier notation without indices.
Source Link

Francesco Polizzi's idea is enough to solve the problem:

Lemma. Let $f = a_3x^3 + a_2x^2 + a_1x + a_0 \in \mathbf Z[x]$$f = ax^3 + bx^2 + cx + d \in \mathbf Z_{\geq 0}[x]$ nonconstant with $a_i \geq 0$ and $a_0 > 0$$d > 0$, such that $f(1)$ is a prime $p > 2$. Then $f$ is irreducible in $\mathbf Z[x]$.

Proof. Suppose $f = gh$ for $g,h \in \mathbf Z[x]$; we must show that $g \in \{\pm 1\}$ or $h \in \{\pm 1\}$. Write $g = b_nx^n + \ldots + b_0$ and $h = c_mx^m + \ldots + c_0$ with $b_n \neq 0$ and $c_m \neq 0$.

First assume $\deg g > 0$ and $\deg h > 0$. Since $\deg f \leq 3$, without loss of generality we may assume $\deg g = 1$ and $m = \deg h \in \{1,2\}$, as well as; say \begin{align*} g = ux + v, & & h = \alpha x^2 + \beta x + \gamma , \end{align*} with $b_1, c_m > 0$$u > 0$ and $\alpha > 0$ or $\alpha = 0$ and $\beta > 0$. If $b_0 \leq 0$$v \leq 0$, then $f$ has a nonnegative real root, which is impossible because $f$ has non-negative coefficients and $f(0) > 0$. So we must haveThus, $b_0 > 0$. But then$v > 0$, and therefore $g(1) \geq 2$, so in factforcing $g(1) = p$ and $h(1) = 1$. By symmetry, this rules out the case $\deg h = 1$. Finally, if $\deg h = 2$Thus, it is convenient now to adopt easier notation: \begin{align*} g = ux + v, & & h = ax^2+bx+c, \end{align*} withwe may assume $u,v,a > 0$$\alpha > 0$. The formulas \begin{align*} a_3 = au, & & a_2 = bu + av, & & a_1 = cu + bv, & & a_0 = cv \end{align*}\begin{align*} a = \alpha u, & & b = \beta u + \alpha v, & & c = \gamma u + \beta v, & & d = \gamma v \end{align*} give \begin{align*} a > 0, & & av \geq -bu, & & cu \geq -bv, & & c > 0.\label{1}\tag{1} \end{align*}\begin{align*} \alpha > 0, & & \alpha v \geq -\beta u, & & \gamma u \geq -\beta v, & & \gamma > 0.\label{1}\tag{1} \end{align*} We will show that $h(1) \geq 2$, contradicting the earlier assertion that $h(1) = 1$. This is clear if $b \geq 0$$\beta \geq 0$, since we already have $a > 0$$\alpha > 0$ and $c > 0$$\gamma > 0$. If $b < 0$$\beta < 0$, then \eqref{1} shows $$\frac{c}{-b} \geq \frac{v}{u} \geq \frac{-b}{a} > 0,\label{2}\tag{2}$$$$\frac{\gamma}{-\beta} \geq \frac{v}{u} \geq \frac{-\beta}{\alpha} > 0,\label{2}\tag{2}$$ hence $$h(1) = a + b + c \geq \left(1 - \left(\frac{-b}{a}\right) + \left(\frac{-b}{a}\right)^2 \right)a.$$\begin{align*} h(1) = \alpha + \beta + \gamma &= \left(1 - \left(\frac{-\beta}{\alpha}\right) + \left(\frac{\gamma}{-\beta}\right)\left(\frac{-\beta}{\alpha}\right)\right)\alpha\\ &\geq \left(1 - \left(\frac{-\beta}{\alpha}\right) + \left(\frac{-\beta}{\alpha}\right)^2 \right)\alpha. \end{align*} The function $1-x+x^2$ attains a minimum of $\tfrac{3}{4}$ at $x = \tfrac{1}{2}$, and is bigger than $1$ on $(1,\infty)$. Thus, we only have to consider $x = \tfrac{-b}{a} \in (0,1]$$x = \tfrac{-\beta}{\alpha} \in (0,1]$. For $x < 1$, we must have $a \geq 2$$\alpha \geq 2$, so $(1-x+x^2)a \geq \tfrac{3}{2} > 1$$(1-x+x^2)\alpha \geq \tfrac{3}{2} > 1$. Finally, for $x = 1$, i.e. $b = -a$$\beta = -\alpha$, \eqref{2} shows that $v \geq u$. Since $p = v+u$ is odd, we must have $v > u$, so \eqref{2} gives $c > -b$$\gamma > -\beta$, so $h(1) = c \geq 2$$h(1) = \gamma \geq 2$.

Thus, we conclude that $\deg g = 0$ or $\deg h = 0$; say $g = c$$g = n$ for $c \in \mathbf Z_{>0}$$n \in \mathbf Z_{>0}$ without loss of generality. If $c > 1$$n > 1$, then $c = p$$n = p$, which is impossible since $f(0) = d \in \{1, \ldots, p-1\}$ is not divisible by $p$. So we conclude that $g = 1$. $\square$

Francesco Polizzi's idea is enough to solve the problem:

Lemma. Let $f = a_3x^3 + a_2x^2 + a_1x + a_0 \in \mathbf Z[x]$ nonconstant with $a_i \geq 0$ and $a_0 > 0$, such that $f(1)$ is a prime $p > 2$. Then $f$ is irreducible.

Proof. Suppose $f = gh$ for $g,h \in \mathbf Z[x]$; we must show that $g \in \{\pm 1\}$ or $h \in \{\pm 1\}$. Write $g = b_nx^n + \ldots + b_0$ and $h = c_mx^m + \ldots + c_0$ with $b_n \neq 0$ and $c_m \neq 0$.

First assume $\deg g > 0$ and $\deg h > 0$. Since $\deg f \leq 3$, without loss of generality we may assume $\deg g = 1$ and $m = \deg h \in \{1,2\}$, as well as $b_1, c_m > 0$. If $b_0 \leq 0$, then $f$ has a nonnegative real root, which is impossible because $f$ has non-negative coefficients and $f(0) > 0$. So we must have $b_0 > 0$. But then $g(1) \geq 2$, so in fact $g(1) = p$ and $h(1) = 1$. By symmetry, this rules out the case $\deg h = 1$. Finally, if $\deg h = 2$, it is convenient now to adopt easier notation: \begin{align*} g = ux + v, & & h = ax^2+bx+c, \end{align*} with $u,v,a > 0$. The formulas \begin{align*} a_3 = au, & & a_2 = bu + av, & & a_1 = cu + bv, & & a_0 = cv \end{align*} give \begin{align*} a > 0, & & av \geq -bu, & & cu \geq -bv, & & c > 0.\label{1}\tag{1} \end{align*} We will show that $h(1) \geq 2$, contradicting the earlier assertion that $h(1) = 1$. This is clear if $b \geq 0$, since we already have $a > 0$ and $c > 0$. If $b < 0$, then \eqref{1} shows $$\frac{c}{-b} \geq \frac{v}{u} \geq \frac{-b}{a} > 0,\label{2}\tag{2}$$ hence $$h(1) = a + b + c \geq \left(1 - \left(\frac{-b}{a}\right) + \left(\frac{-b}{a}\right)^2 \right)a.$$ The function $1-x+x^2$ attains a minimum of $\tfrac{3}{4}$ at $x = \tfrac{1}{2}$, and is bigger than $1$ on $(1,\infty)$. Thus, we only have to consider $x = \tfrac{-b}{a} \in (0,1]$. For $x < 1$, we must have $a \geq 2$, so $(1-x+x^2)a \geq \tfrac{3}{2} > 1$. Finally, for $x = 1$, i.e. $b = -a$, \eqref{2} shows that $v \geq u$. Since $p = v+u$ is odd, we must have $v > u$, so \eqref{2} gives $c > -b$, so $h(1) = c \geq 2$.

Thus, we conclude that $\deg g = 0$ or $\deg h = 0$; say $g = c$ for $c \in \mathbf Z_{>0}$ without loss of generality. If $c > 1$, then $c = p$, which is impossible since $f(0) = d \in \{1, \ldots, p-1\}$ is not divisible by $p$. So we conclude that $g = 1$. $\square$

Francesco Polizzi's idea is enough to solve the problem:

Lemma. Let $f = ax^3 + bx^2 + cx + d \in \mathbf Z_{\geq 0}[x]$ nonconstant with $d > 0$, such that $f(1)$ is a prime $p > 2$. Then $f$ is irreducible in $\mathbf Z[x]$.

Proof. Suppose $f = gh$ for $g,h \in \mathbf Z[x]$; we must show that $g \in \{\pm 1\}$ or $h \in \{\pm 1\}$.

First assume $\deg g > 0$ and $\deg h > 0$. Since $\deg f \leq 3$, without loss of generality we may assume $\deg g = 1$ and $m = \deg h \in \{1,2\}$; say \begin{align*} g = ux + v, & & h = \alpha x^2 + \beta x + \gamma , \end{align*} with $u > 0$ and $\alpha > 0$ or $\alpha = 0$ and $\beta > 0$. If $v \leq 0$, then $f$ has a nonnegative real root, which is impossible because $f$ has non-negative coefficients and $f(0) > 0$. Thus, $v > 0$, and therefore $g(1) \geq 2$, forcing $g(1) = p$ and $h(1) = 1$. By symmetry, this rules out the case $\deg h = 1$. Thus, we may assume $\alpha > 0$. The formulas \begin{align*} a = \alpha u, & & b = \beta u + \alpha v, & & c = \gamma u + \beta v, & & d = \gamma v \end{align*} give \begin{align*} \alpha > 0, & & \alpha v \geq -\beta u, & & \gamma u \geq -\beta v, & & \gamma > 0.\label{1}\tag{1} \end{align*} We will show that $h(1) \geq 2$, contradicting the earlier assertion that $h(1) = 1$. This is clear if $\beta \geq 0$, since we already have $\alpha > 0$ and $\gamma > 0$. If $\beta < 0$, then \eqref{1} shows $$\frac{\gamma}{-\beta} \geq \frac{v}{u} \geq \frac{-\beta}{\alpha} > 0,\label{2}\tag{2}$$ hence \begin{align*} h(1) = \alpha + \beta + \gamma &= \left(1 - \left(\frac{-\beta}{\alpha}\right) + \left(\frac{\gamma}{-\beta}\right)\left(\frac{-\beta}{\alpha}\right)\right)\alpha\\ &\geq \left(1 - \left(\frac{-\beta}{\alpha}\right) + \left(\frac{-\beta}{\alpha}\right)^2 \right)\alpha. \end{align*} The function $1-x+x^2$ attains a minimum of $\tfrac{3}{4}$ at $x = \tfrac{1}{2}$, and is bigger than $1$ on $(1,\infty)$. Thus, we only have to consider $x = \tfrac{-\beta}{\alpha} \in (0,1]$. For $x < 1$, we must have $\alpha \geq 2$, so $(1-x+x^2)\alpha \geq \tfrac{3}{2} > 1$. Finally, for $x = 1$, i.e. $\beta = -\alpha$, \eqref{2} shows that $v \geq u$. Since $p = v+u$ is odd, we must have $v > u$, so \eqref{2} gives $\gamma > -\beta$, so $h(1) = \gamma \geq 2$.

Thus, we conclude that $\deg g = 0$ or $\deg h = 0$; say $g = n$ for $n \in \mathbf Z_{>0}$ without loss of generality. If $n > 1$, then $n = p$, which is impossible since $f(0) = d \in \{1, \ldots, p-1\}$ is not divisible by $p$. So we conclude that $g = 1$. $\square$

Small simplification.
Source Link

Francesco Polizzi's idea is enough to solve the problem:

Lemma. Let $f = a_3x^3 + a_2x^2 + a_1x + a_0 \in \mathbf Z[x]$ nonconstant with $a_i \geq 0$ and $a_0 > 0$, such that $f(1)$ is a prime $p > 2$. Then $f$ is irreducible.

Proof. Suppose $f = gh$ for $g,h \in \mathbf Z[x]$; we must show that $g \in \{\pm 1\}$ or $h \in \{\pm 1\}$. Write $g = b_nx^n + \ldots + b_0$ and $h = c_mx^m + \ldots + c_0$ with $b_n \neq 0$ and $c_m \neq 0$.

First assume $\deg g > 0$ and $\deg h > 0$. Since $\deg f \leq 3$, without loss of generality we may assume $\deg g = 1$ and $m = \deg h \in \{1,2\}$, as well as $b_1, c_m > 0$. If $b_0 < 0$$b_0 \leq 0$, then $f$ has a positivenonnegative real root, which contradicts Descartes's rule of signs (this can be easily done by hand in this case as well). Moreover,is impossible because $a_0 > 0$ rules out$f$ has non-negative coefficients and $b_0 = 0$, so$f(0) > 0$. So we must have $b_0 > 0$. But then $g(1) \geq 2$, so in fact $g(1) = p$ and $h(1) = 1$. By symmetry, this rules out the case $\deg h = 1$. Finally, if $\deg h = 2$, it is convenient now to adopt easier notation: \begin{align*} g = ux + v, & & h = ax^2+bx+c, \end{align*} with $u,v,a > 0$. The formulas \begin{align*} a_3 = au, & & a_2 = bu + av, & & a_1 = cu + bv, & & a_0 = cv \end{align*} give \begin{align*} a > 0, & & av \geq -bu, & & cu \geq -bv, & & c > 0.\label{1}\tag{1} \end{align*} We will show that $h(1) \geq 2$, contradicting the earlier assertion that $h(1) = 1$. This is clear if $b \geq 0$, since we already have $a > 0$ and $c > 0$. If $b < 0$, then \eqref{1} shows $$\frac{c}{-b} \geq \frac{v}{u} \geq \frac{-b}{a} > 0,\label{2}\tag{2}$$ hence $$h(1) = a + b + c \geq \left(1 - \left(\frac{-b}{a}\right) + \left(\frac{-b}{a}\right)^2 \right)a.$$ The function $1-x+x^2$ attains a minimum of $\tfrac{3}{4}$ at $x = \tfrac{1}{2}$, and is bigger than $1$ on $(1,\infty)$. Thus, we only have to consider $x = \tfrac{-b}{a} \in (0,1]$. For $x < 1$, we must have $a \geq 2$, so $(1-x+x^2)a \geq \tfrac{3}{2} > 1$. Finally, for $x = 1$, i.e. $b = -a$, \eqref{2} shows that $v \geq u$. Since $p = v+u$ is odd, we must have $v > u$, so \eqref{2} gives $c > -b$, so $h(1) = c \geq 2$.

Thus, we conclude that $\deg g = 0$ or $\deg h = 0$; say $g = c$ for $c \in \mathbf Z_{>0}$ without loss of generality. If $c > 1$, then $c = p$, which is impossible since $f(0) = d \in \{1, \ldots, p-1\}$ is not divisible by $p$. So we conclude that $g = 1$. $\square$

Francesco Polizzi's idea is enough to solve the problem:

Lemma. Let $f = a_3x^3 + a_2x^2 + a_1x + a_0 \in \mathbf Z[x]$ nonconstant with $a_i \geq 0$ and $a_0 > 0$, such that $f(1)$ is a prime $p > 2$. Then $f$ is irreducible.

Proof. Suppose $f = gh$ for $g,h \in \mathbf Z[x]$; we must show that $g \in \{\pm 1\}$ or $h \in \{\pm 1\}$. Write $g = b_nx^n + \ldots + b_0$ and $h = c_mx^m + \ldots + c_0$ with $b_n \neq 0$ and $c_m \neq 0$.

First assume $\deg g > 0$ and $\deg h > 0$. Since $\deg f \leq 3$, without loss of generality we may assume $\deg g = 1$ and $m = \deg h \in \{1,2\}$, as well as $b_1, c_m > 0$. If $b_0 < 0$, then $f$ has a positive real root, which contradicts Descartes's rule of signs (this can be easily done by hand in this case as well). Moreover, $a_0 > 0$ rules out $b_0 = 0$, so we must have $b_0 > 0$. But then $g(1) \geq 2$, so in fact $g(1) = p$ and $h(1) = 1$. By symmetry, this rules out the case $\deg h = 1$. Finally, if $\deg h = 2$, it is convenient now to adopt easier notation: \begin{align*} g = ux + v, & & h = ax^2+bx+c, \end{align*} with $u,v,a > 0$. The formulas \begin{align*} a_3 = au, & & a_2 = bu + av, & & a_1 = cu + bv, & & a_0 = cv \end{align*} give \begin{align*} a > 0, & & av \geq -bu, & & cu \geq -bv, & & c > 0.\label{1}\tag{1} \end{align*} We will show that $h(1) \geq 2$, contradicting the earlier assertion that $h(1) = 1$. This is clear if $b \geq 0$, since we already have $a > 0$ and $c > 0$. If $b < 0$, then \eqref{1} shows $$\frac{c}{-b} \geq \frac{v}{u} \geq \frac{-b}{a} > 0,\label{2}\tag{2}$$ hence $$h(1) = a + b + c \geq \left(1 - \left(\frac{-b}{a}\right) + \left(\frac{-b}{a}\right)^2 \right)a.$$ The function $1-x+x^2$ attains a minimum of $\tfrac{3}{4}$ at $x = \tfrac{1}{2}$, and is bigger than $1$ on $(1,\infty)$. Thus, we only have to consider $x = \tfrac{-b}{a} \in (0,1]$. For $x < 1$, we must have $a \geq 2$, so $(1-x+x^2)a \geq \tfrac{3}{2} > 1$. Finally, for $x = 1$, i.e. $b = -a$, \eqref{2} shows that $v \geq u$. Since $p = v+u$ is odd, we must have $v > u$, so \eqref{2} gives $c > -b$, so $h(1) = c \geq 2$.

Thus, we conclude that $\deg g = 0$ or $\deg h = 0$; say $g = c$ for $c \in \mathbf Z_{>0}$ without loss of generality. If $c > 1$, then $c = p$, which is impossible since $f(0) = d \in \{1, \ldots, p-1\}$ is not divisible by $p$. So we conclude that $g = 1$. $\square$

Francesco Polizzi's idea is enough to solve the problem:

Lemma. Let $f = a_3x^3 + a_2x^2 + a_1x + a_0 \in \mathbf Z[x]$ nonconstant with $a_i \geq 0$ and $a_0 > 0$, such that $f(1)$ is a prime $p > 2$. Then $f$ is irreducible.

Proof. Suppose $f = gh$ for $g,h \in \mathbf Z[x]$; we must show that $g \in \{\pm 1\}$ or $h \in \{\pm 1\}$. Write $g = b_nx^n + \ldots + b_0$ and $h = c_mx^m + \ldots + c_0$ with $b_n \neq 0$ and $c_m \neq 0$.

First assume $\deg g > 0$ and $\deg h > 0$. Since $\deg f \leq 3$, without loss of generality we may assume $\deg g = 1$ and $m = \deg h \in \{1,2\}$, as well as $b_1, c_m > 0$. If $b_0 \leq 0$, then $f$ has a nonnegative real root, which is impossible because $f$ has non-negative coefficients and $f(0) > 0$. So we must have $b_0 > 0$. But then $g(1) \geq 2$, so in fact $g(1) = p$ and $h(1) = 1$. By symmetry, this rules out the case $\deg h = 1$. Finally, if $\deg h = 2$, it is convenient now to adopt easier notation: \begin{align*} g = ux + v, & & h = ax^2+bx+c, \end{align*} with $u,v,a > 0$. The formulas \begin{align*} a_3 = au, & & a_2 = bu + av, & & a_1 = cu + bv, & & a_0 = cv \end{align*} give \begin{align*} a > 0, & & av \geq -bu, & & cu \geq -bv, & & c > 0.\label{1}\tag{1} \end{align*} We will show that $h(1) \geq 2$, contradicting the earlier assertion that $h(1) = 1$. This is clear if $b \geq 0$, since we already have $a > 0$ and $c > 0$. If $b < 0$, then \eqref{1} shows $$\frac{c}{-b} \geq \frac{v}{u} \geq \frac{-b}{a} > 0,\label{2}\tag{2}$$ hence $$h(1) = a + b + c \geq \left(1 - \left(\frac{-b}{a}\right) + \left(\frac{-b}{a}\right)^2 \right)a.$$ The function $1-x+x^2$ attains a minimum of $\tfrac{3}{4}$ at $x = \tfrac{1}{2}$, and is bigger than $1$ on $(1,\infty)$. Thus, we only have to consider $x = \tfrac{-b}{a} \in (0,1]$. For $x < 1$, we must have $a \geq 2$, so $(1-x+x^2)a \geq \tfrac{3}{2} > 1$. Finally, for $x = 1$, i.e. $b = -a$, \eqref{2} shows that $v \geq u$. Since $p = v+u$ is odd, we must have $v > u$, so \eqref{2} gives $c > -b$, so $h(1) = c \geq 2$.

Thus, we conclude that $\deg g = 0$ or $\deg h = 0$; say $g = c$ for $c \in \mathbf Z_{>0}$ without loss of generality. If $c > 1$, then $c = p$, which is impossible since $f(0) = d \in \{1, \ldots, p-1\}$ is not divisible by $p$. So we conclude that $g = 1$. $\square$

Source Link
Loading