wu :: forums (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi)
riddles >> easy >> Prime triplet
(Message started by: NickH on Apr 15th, 2003, 2:25pm)

Title: Prime triplet
Post by NickH on Apr 15th, 2003, 2:25pm
Show that, if 0 < p and p2 + 2 are primes, then p3 + 2 is also prime.

Title: Re: Prime triplet
Post by SWF on Apr 16th, 2003, 7:33pm
This seems like sort of a trick question.  My solution (hidden):
[hide]The only p with p2+2 also prime is p=3, and for that p3+2=29, prime, so the statement is true.

For all other primes, p, p2+2 is a multiple of 3. Obvious, for p=2, and the rest of the primes are either a multiple of 6 plus 1 or a multiple of 6 plus 5. Plug 6*n+1 or 6*n+5 into p2+2, and you will see it is a multiple of 3.[/hide]

Title: Re: Prime triplet
Post by NickH on Apr 16th, 2003, 8:21pm
Spot on!  So, in fact, p4 + 2 is also prime!

Title: Re: Prime triplet
Post by LZJ on Apr 17th, 2003, 1:50am
As for proof as to why 3 is the only value of p possible, p2 (mod 3) = 1 for all odd positive integers that are not multiples of 3, so all other odd primes can be ruled out.



Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board