Problem
The sequence 3, 5, 7 is a list of three prime numbers such that each pair of adjacent numbers in the list differ by two. Are there any more such “triplet primes”?
Solution
No. Any triplet would have to be three consecutive odd numbers since all even numbers are not prime. The possibilities for the last digits of the triplets are: (1, 3, 5), (3, 5, 7), (5, 7, 9). In each case, there is a 5 in the last digit of one of the numbers. Any such number will be divisible by 5, thus not prime. Therefore, once you get pass 7, there are no more triplets.