Why does (p*q+2)-(p+q) always give a prime number?

  • Thread starter Thread starter John Harris
  • Start date Start date
  • Tags Tags
    Euler Prime
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
9 replies · 2K views
John Harris
Messages
19
Reaction score
1

Homework Statement


Why does (p*q+2)-(p+q) always give a prime number when p and q are prime? Is there a similar formula that would prove this

Homework Equations


That's what I'm looking for. It might have something to do with Eulers formula

The Attempt at a Solution


I tried to find online a formula that would justify this, but was unable to find anything.
 
Physics news on Phys.org
John Harris said:
Why does (p*q+2)-(p+q) always give a prime number when p and q are prime?
It doesn't.

The first example I picked was a counter example:
(17*47+2)-(17+47)=737=11*67
 
  • Like
Likes   Reactions: John Harris
Nathanael said:
It doesn't.

The first example I picked was a counter example:
(17*47+2)-(17+47)=737=11*67
Oh you're right. I should have tried more examples. Thank you
 
haruspex said:
You couldn't have tried many. It fails whenever p and q differ by 2.
I tried 7 and 13
 
Gez no I tried 3 examples 3,7 1,3 7,13, and it would have made sense with the problem I'm doing.
 
John Harris said:
Gez no I tried 3 examples 3,7 1,3 7,13, and it would have made sense with the problem I'm doing.
Well can you see how your statement "I tried 7 and 13" sounds a LOT like "I tried one combination" ? Glad to hear you already realize that just one is not a good idea.