The Math Forum

Ask Dr. Math - Questions and Answers from our Archives
Associated Topics || Dr. Math Home || Search Dr. Math

p, p+8, p+22 Not Prime

Date: 10/16/2001 at 07:37:17
From: Scott S
Subject: Proof On Prime Numbers

Could you help me with this question?:

Prove that there is no positive integer p such that each of the 


is prime.

Any help would be much appreciated.

Date: 10/16/2001 at 08:38:49
From: Doctor Paul
Subject: Re: Proof On Prime Numbers

If p is not prime, we're done. So assume p is prime. Then p is either 
one more than a multiple of three, or p is two more than a multiple of 

In other notation:

p = 1 mod 3 or p = 2 mod 3.

   If p = 1 mod 3 then p+8 = 0 mod 3 and is therefore divisible by 
   three and is hence not prime.

   If p = 2 mod 3 then p+22 = 0 mod 3 and is therefore divisible by 
   three and is hence not prime.

Write back if you want to talk about this some more.

- Doctor Paul, The Math Forum   
Associated Topics:
High School Number Theory

Search the Dr. Math Library:

Find items containing (put spaces between keywords):
Click only once for faster results:

[ Choose "whole words" when searching for a word like age.]

all keywords, in any order at least one, that exact phrase
parts of words whole words

Submit your own question to Dr. Math

[Privacy Policy] [Terms of Use]

Math Forum Home || Math Library || Quick Reference || Math Forum Search

Ask Dr. MathTM
© 1994- The Math Forum at NCTM. All rights reserved.