I am having trouble with this problem:
Assume $p_1, p_2 \ldots p_{n+1}$ be the first $n+1$ primes in order. Prove that every number between $(p_1\cdot p_2 \cdot \ldots \cdot p_{n}) + 1$ (exclusive) and $(p_1 \cdot p_2 \cdot p_3 \cdot \ldots \cdot p_n + p_{n+1}) − 1$ (inclusive) is composite. How does this show that there are gaps of arbitrary length in the sequence of primes?
I saw a question and answer which I will link to below that stated the same question, but because the asker made an error and later fixed it this caused the response to look incorrect to me. I would appreciate if someone could offer me some guidance on this question without giving the full solution.
Thanks!
Please note I have already viewed this question: Prove that every number between two factors of primes is composite.