Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory junior

Problem

When the set of natural numbers is listed in ascending order, what is the smallest prime number that occurs after a sequence of five consecutive positive integers all of which are nonprime?
Solution
Consider the differences between consecutive prime numbers and look for the first difference of 6 or greater. The first several prime numbers are and the differences between consecutive terms of this sequence are The first appearance of a difference of 6 or greater occurs between 23 and .
Final answer
29