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

Home > Just Math
Prime power pair (Posted on 2023-10-08) Difficulty: 3 of 5
Solve the equation in prime numbers

p3-q5=(p+q)2

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
solution Comment 2 of 2 |
Say p and q both >3.  Then each = 1 or -1 mod6. But when p=q mod6, LHS=0 mod6 and RHS<>0 mod6, and if p<>q mod6 the opposite occurs.

By inspection, p<>2 and <>3 as otherwise LHS<=0, so any solution requires q=2 or q=3.

In the first case, p^3-32=(p+2)^2.  Rewrite as p^3+8-(p+2)^2=40 and (p+2) factors 40 where p is prime.  No solution appears.

Similarly, in the second case p^3+27-(p+3)^2=270 and only p=7 satisfies conditions.

7^3-3^5 = 343-243 = 100 = (7+3)^2. 
 

  Posted by xdog on 2023-10-08 11:40:15
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 (12)
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