Prove a case of Dirichlet's Theorem: that there are infinitely many primes of the form $8k+1$ using these steps.
(Dirichlet’s Theorem). Let $a$, $b$ be two positive integers. If $\gcd(a, b) = 1$, then there exists an infinite number of primes of the form $ak + b$.
The aim of this exercise is to prove Dirichlet's Theorem when $a = 8$ and $b = 1$. Let $x$ be an even integer and $p$ be a prime divisor of $x^4+1$.
Show that $\left(\frac{-1}{p}\right) = 1$.
Prove that $x$ and $p$ are coprime and deduce that $x$ is invertible modulo $p$.
Show that $\left(\frac2p\right) = 1$. Hint: You might find the following identity useful: $$ x^4+1 = (x^2+1)^2-2x^2 $$
Show that $p \equiv 1 \bmod 8$.
Deduce that there are infinitely many primes $p$ congruent to $1$ modulo $8$.
So far I've got $N = (2p_1p_2\ldots p_r)^4+1$
Let $p$ be a prime divisor of $N$. If $p|N$ then
$$p| (2p_1p_2\ldots p_r)^4+1$$
$$-1 = (2p_1p_2\ldots p_r)^4 \mod p$$
$$(-1/p) = 1$$
This is where I get stuck.
My lecturer has replied with:
'This is indeed the beginning of the correct answer. You have that N is of the form x^4+1, so you can use question 4) and deduce N=1 mod 8. Now, can it be equal to one of the p_i?'
I'm still unsure where to go from here?
Someone has already answered the question
Suppose that there are only finitely many such primes p1,…,pk≡1(mod8). Then consider the following number (2p1⋯pk)4+1, which is coprime with each pi, and has remainder 1 modulo 8. Since it is odd and greater than 1, it has to be divisible by an odd prime p. Then ordp(2p1⋯pk)=8 which divides φ(p)=p−1 by Fermat's theorem. Therefore p is another prime ≡1(mod8).