I've given the following problem:
(a) $R$ is a factorial ring and $\mathfrak{p} \lhd R$ a prime ideal. By use of the cannonical projection $R \to R/\mathfrak{p}$ on the coefficients, we'll get a ring homomorphism $\varphi: R[x] \to (R/\mathfrak{p})[x]$. Let $p \in R[x]$ be primitive with leading coefficient not in $\mathfrak{p}$. Show, if $\varphi(p)$ is irreducible in $(R/\mathfrak{p})[x]$, then $p$ is irreducible in $R[x]$.
(b) $1 + x^3 +x^5$ is irreducible in $\mathbb{Z}[x]$
I proved (a) in the following way: Let $p \in R[x]$ with $p \neq 0$ and $\varphi(p)$ is irreducible. Then for $g,h \in R[x]$ with $p = g h$ WLOG $\varphi(g) \in (R/ \mathfrak{p})[x]^*$ (because $\varphi(p)$ is irreducible). Then we can immediatly follow that g has to be in $R^* = R[x]^*$ because $\varphi$ is an ringhomomorphism.
Is this proof correct?
I don't have any idea how to solve (b), I think I will need (a), but I don't know how I can use this.
We will prove that it is irreducible over $\mathbb F_2$. (Why is this enough?)
We will use the more general theorem:
Since $x^5+x^3+1$ has no roots in $\mathbb F_2$, it has no factors of degree $d=1$, so it is enough to show that $x^{2^5}-x$ is divisible by $x^5+x^3+1.$ We will compute this by computing $x^{32}\bmod{x^5+x^3+1}$ in $\mathbb F_2[x]$.
$$\begin{align}x^8&=x^3\cdot x^5\\&\equiv x^3(x^3+1)\\&\equiv x\cdot x^5+x^3\\&=x(x^3+1)+x^3\\&=x^4+x^3+x\pmod{x^5+x^3+1}\\\\ x^{16}&=(x^8)^2\\&\equiv (x^4+x^3+x)^2\\&=x^{8}+x^{6}+x^2\\&\equiv (x^4+x^3+x)+(x^4+x)+x^2\\&=x^3+x^2\pmod{x^5+x^3+1}\\\\ x^{32}&=(x^{16})^2\\&\equiv(x^3+x^2)^2\\&\equiv x^6+x^4\\&\equiv x(x^3+1)+x^4\\&=x\pmod{x^5+x^3+1}\end{align}$$
A short proof, hiding the above work, is to show that $x^{4}-x$ is relatively prime to $x^5+x^3+1$ in $\mathbb F_2[x],$ with the following equality:
$$(x^4-x)(x+1)+(x^5+x^3+1)(x^3+x+1)=1$$
This shows that $x^5+x^3+1$ has no irreducible factors of degree $1$ or $2$, and thus must be irreducible.
Aside: I'm still using $-x$ in much of the above, to be consistent with the general theorem, but, of course, $-x=x$ in $\mathbb F_2[x].$