All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Prime Number Arithmetic (Posted on 2004-11-19) Difficulty: 4 of 5

Find all primes p such that 2^p + p^2 is also prime.

Prove there are no others.

See The Solution Submitted by Erik O.    
Rating: 4.1250 (8 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
solution using mods | Comment 6 of 7 |
Here is how I would solve this:

(2^p)mod 3 equals:
2 mod 3 when p is odd
1 mod 3 when p is even
since p is greater than 3, p is odd, so (2^p) = 2 mod 3

If p>3, p mod 3 = 1 or 2 (if it equaled 3, it wouldn't be prime)
(1 mod 3)^2 = 1 mod 3
(2 mod 3)^2 = 4 mod 3 = 1 mod 3
so for p > 3, p^2 = 1 mod 3

Therefore, the equation equals (1+2) mod 3 = 0 mod 3, so for all values of p>3, the sum will not be prime as it will be a multiple of 3.



  Posted by Brent on 2007-02-05 17:44:14
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (14)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information