Maths WorkshopMaths problems with full solutions
Exercise 1121Number theory › PrimesOlympiadAdded 3 Nov 2026

Consecutive primes and products

#consecutive primes#product#gap

Statement

Show that for consecutive primes pn<pn+1p_n<p_{n+1}, the product pnpn+1p_np_{n+1} is not divisible by any prime smaller than pnp_n except pnp_n itself.

Hint

The prime divisors of pnpn+1p_np_{n+1} are exactly pnp_n and pn+1p_{n+1}.

Show solutionHide solution

Solution

Prime divisors. pnp_n and pn+1p_{n+1} are the only prime divisors of pnpn+1p_np_{n+1}.

Consequence. Any prime divisor of the product is ≥pn\ge p_n.

Conclusion. No prime <pn<p_n divides pnpn+1p_np_{n+1}.