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

Home > Numbers
Prime pair equation (Posted on 2021-08-18) Difficulty: 3 of 5
Find all pairs of primes (p,q) such that p5+p3+2=q2-q

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Some Thoughts computer exploration | Comment 1 of 2
clc, clearvars

for t=2:500
   for a=1:t-1
      b=t-a;
      p=nthprime(a); q=nthprime(b);
      if p^5+p^3+2==q^2-q
         disp([p q]) 
         disp([p^5+p^3+2   q^2-q])
         disp(' ')
      end
   end
end

finds (for the sum of the ordinal numbers of the primes up to 500th) only

     2     7
    42    42
 
     3    17
   272   272

where the format is

     p    q
   LHS   RHS

  Posted by Charlie on 2021-08-18 21:48:19
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 (9)
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