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 Puzzle Solution Comment 7 of 7 |
Let f(p)=2^p+p^2
Then, f(2)=2^2+2^2=8-> NOT a prime number.
f(3)= 2^3+3^2=17-> A PRIME NUMBER --------(i)
Now, let us consider p>3. We know that, all primes greater than 3 are odd.
Since all odd powers of 2 reduces to 2 in module 3 system, we must have:
2^p=2(mod 3) for p>3 .......(ii)
Now, for p>3, any multiple of 3 is composite and thus NOT a prime number.
Thus, p=1 or 2(mod 3), whenever, p>3
=> p^2=1 or 4 (mod 3)=1 (mod 3)..........(iii)
Accordingly, from (ii) and (iii):
f(p)=(2+1) (mod 3),
       = 0 (mod 3),  whenever p>3
This is a contradiction, as f(p) is then clearly a composite number, being a multiple of 3.

Consequently, the only possible prime number value of p for which 2^p+p^2 is a prime number MUST be 3.

Edited on January 8, 2022, 8:56 pm
  Posted by K Sengupta on 2022-01-08 20:50:39

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 (11)
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