TITLE: Conjecture: If $ N $ and $ N + 10 $ are prime, then $ N + 20 $ is composite.
QUESTION [5 upvotes]: Conjecture: If $ N $ and $ N + 10 $ are prime, then $ N + 20 $ is composite.

Here are some examples:

$ 19 $ and $ 29 $ are prime; $ 39 $ is composite.
$ 241 $ and $ 251 $ are prime; $ 261 $ is composite.
$ 733 $ and $ 743 $ are prime; $ 753 $ is composite.
$ 1627 $ and $ 1637 $ are prime; $ 1647 $ is composite.

I found this list of primes useful.

REPLY [4 votes]: This is not a conjecture, it's a fact the ancient Greeks knew, only that it's missing the one exception, $N = 3$ (which Jeppe pointed out recently but the ancient Greeks also knew).
You need to look at the sieve of Eratosthenes in the usual 10-column wide rows. Circle 2 and strike out the higher even numbers. There's a very obvious pattern, right? Hold off on 3, though, circle 5 instead and cross out the higher odd multiples of 5 (you don't have to cross out the even multiples of 5 unless you really want to for some reason or other). The pattern is still obvious, right? Now circle 3 and cross off its odd multiples that haven't already been crossed off because of 5.
What I'm getting at is the pattern that repeats every 3 rows. You haven't crossed off 19 because it's not a multiple of 2, 3 or 5; and you haven't crossed off 29 because it's not a multiple of 2, 3 or 5 either. But you have crossed off 39 because it's a multiple of 3. Similarly, you haven't crossed off 49 or 59, but you have crossed off 69. Of course you know 49 is not prime, but it helps make my point.
The language of congruences (e.g., $19 \equiv 1 \mod 3$) will help you out as you venture further to where the patterns are not as graphically obvious on the sieve.