Can 4 distinct prime numbers be related in such a way?

In summary, the conversation discussed the possibility of an equality involving four distinct prime numbers and how to prove or disprove its existence. The equation PxPy + Pw = PwPz + Px was proposed and converted to Px(Py-1) = Pw(Pz-1) to make it easier to analyze. The conversation also mentioned the use of some conditions and examples in testing the equality, and the discovery of several sets of primes that satisfy the equation.
  • #1
JFGariepy
17
0
Hi everyone,

I've been bumping on this problem for a while and wondered if any of you had any clue on how to approach it. My question is whether the following equality is possible for 4 distinct prime numbers :

PxPy + Pw = PwPz + Px

where Px, Py, Pw, Pz are odd prime numbers, and each of them is unique, thus not equal to the others.

If impossible, how would you prove that ?

Thanks!

JF
 
Physics news on Phys.org
  • #2
An equivalent way of phrasing the question:

Do there exist k,p,q with p,q distinct primes such that kp+1, kq+1 are also primes?

[My p,q correspond to your Px,Pw.]
 
  • #3
Oh, it's not exactly equivalent. If p<q, then I need to further require that kp+1 is distinct from q.
 
  • #4
economicsnerd said:
An equivalent way of phrasing the question:

Do there exist k,p,q with p,q distinct primes such that kp+1, kq+1 are also primes?

[My p,q correspond to your Px,Pw.]
How is that equivalent?
With k=2, there are many such primes p,q. Examples: p=3, q=5.
I don't see how we can construct the equality from the first post based on them.

This is possible with other even k, too. Your k cannot be odd, otherwise kp+1 and kq+1 would be even and not prime.

PxPy + Pw = PwPz + Px can be written as Px(Py-1) = Pw(Pz-1)
As Px and Pw are distinct primes, (Pz-1) has to be divisible by Px and (Py-1) has to be divisible by Pw. As both (Pz-1) and (Py-1) are even, Pz>2Px and Py>2Pw.
 
  • #5
mfb said:
PxPy + Pw = PwPz + Px can be written as Px(Py-1) = Pw(Pz-1)
As Px and Pw are distinct primes, (Pz-1) has to be divisible by Px and (Py-1) has to be divisible by Pw. As both (Pz-1) and (Py-1) are even, Pz>2Px and Py>2Pw.

Interesting.

I also would add the following conditions:

Since the equality Px(Py-1) = Pw(Pz-1) needs to reflect 1 integer that has a unique prime factorization, (Py-1) is an even number with prime factor Pw and (Pz-1) is an even number with prime factor Px.

Still struggle to get to either a proof or a counterexample.
 
  • #6
You seem to be almost there.

[tex]\frac{x}{w} = \frac{z-1}{y-1}[/tex]

Look at the right hand side and think about the prime decompositions of z-1 and y-1.
 
  • #7
verty said:
You seem to be almost there.

[tex]\frac{x}{w} = \frac{z-1}{y-1}[/tex]

Look at the right hand side and think about the prime decompositions of z-1 and y-1.

Thank you very much for helping me like that I really appreciate.

Not being a mathematician, here's what I could come up with, tell me if that makes sense.

From your equation and from knowing that z-1 is even and has prime factor x, and that y-1 is even and has prime factor w, I get:

[tex]\frac{x}{w} = \frac{2xA}{2wB}[/tex]

where A and B are whatever remaining factors left except 2, x and w in the prime decompositions of the right side of the equation.

Removing the 2 and multiplying each side by w and dividing each side by x, we get

[tex]\frac{1}{1} = \frac{A}{B}[/tex]

Therefore A = B, that is the only factor that is different in the prime decomposition of z-1 and y-1 is w and x.

I know I must be very close to it, but I still can't see how exactly I will prove something on the original question. This tells me a lot about z-1, but what about z and y ?
 
  • #8
Just test some prime numbers with Px(Py-1) = Pw(Pz-1) and the condition I found, there is an example with very small numbers.
 
  • #9
mfb said:
With k=2, there are many such primes p,q. Examples: p=3, q=5.

JFGariepy said:
Px(Py-1) = Pw(Pz-1)

These two lines together should do something...
 
  • #10
economicsnerd said:
These two lines together should do something...
Please show how you can convert examples for your formulas (like the one I gave) to examples for the original problem.

Those vague suggestions are not useful.
 
  • #11
mfb said:
Just test some prime numbers with Px(Py-1) = Pw(Pz-1) and the condition I found, there is an example with very small numbers.

I tried a couple and can't find the example. You found some without using 2, which isn't odd ?

3*(13 - 1),5*(11-1)
5*(17 - 1),7*(11-1)
5*(17 - 1),7*(13-1)
3*(17 - 1),7*(13-1)
3*(17 - 1),5*(13-1)
3*(23 - 1),5*(13-1)
3*(29 - 1),5*(19-1)

and many other all gave me inequalities, although I'd love to know what the counterexample is.

------------------------

edit

Ahh my script was somewhat misprogramed.

Here is the list of such sets of primes with primes below 29

3 11 5 7
3 23 11 7
3 29 7 13
5 7 3 11
7 13 3 29
11 7 3 23

This opens up some more mysteries for me as I now have to find some characteristics of those sets of primes, thanks to all of you!
 
Last edited:
  • #12
JFGariepy said:
I tried a couple and can't find the example. You found some without using 2, which isn't odd ?

3*(13 - 1),5*(11-1)
5*(17 - 1),7*(11-1)
5*(17 - 1),7*(13-1)
3*(17 - 1),7*(13-1)
3*(17 - 1),5*(13-1)
3*(23 - 1),5*(13-1)
3*(29 - 1),5*(19-1)

and many other all gave me inequalities, although I'd love to know what the counterexample is.

------------------------

edit

Ahh my script was somewhat misprogramed.

Here is the list of such sets of primes with primes below 29

3 11 5 7
3 23 11 7
3 29 7 13
5 7 3 11
7 13 3 29
11 7 3 23

This opens up some more mysteries for me as I now have to find some characteristics of those sets of primes, thanks to all of you!

Try to prove that 3,5,7,11 is the smallest example. You are not yet understanding this relationship.

I think enough help has been given here, let's leave JFGariepy to sort this out.
 
  • #13
verty said:
Try to prove that 3,5,7,11 is the smallest example. You are not yet understanding this relationship.

I think enough help has been given here, let's leave JFGariepy to sort this out.

Hum well the fact that 3 5 are the smallest primes to start with and that the other primes have to be at least double of 3 and 5 guarantees that this is the smallest pair.

As for the understanding, I think I do understand that this is the set of primes where the difference between the 1st and 3rd primes is 2 times smaller (or a power of 2 smaller) than the difference between the 2nd and 4th primes. Humm that only holds for small numbers. Will have to work on that.
 
Last edited:
  • #14
3,5,7,11 (=the example I meant) are the four smallest odd primes. How could there be a smaller example?

verty said:
I think enough help has been given here, let's leave JFGariepy to sort this out.
He did that already :confused:.
 
  • #15
JFGariepy said:
Hi everyone,

I've been bumping on this problem for a while and wondered if any of you had any clue on how to approach it. My question is whether the following equality is possible for 4 distinct prime numbers :

PxPy + Pw = PwPz + Px

where Px, Py, Pw, Pz are ODD prime numbers, and each of them is unique, thus not equal to the others.

If impossible, how would you prove that ?

Thanks!

JF

I see the word "odd" now. I missed it before because the title does not use it and it even says "4 distinct prime numbers" in the quote above. If we are talking about odd primes then obviously 3,5,7,11 is the smallest case.
 

Related to Can 4 distinct prime numbers be related in such a way?

1. Can 4 distinct prime numbers form a quadrilateral?

Yes, four distinct prime numbers can form a quadrilateral if they meet the criteria for being the side lengths of a quadrilateral. The sum of any three sides of a quadrilateral must be greater than the fourth side, and the difference between any two sides must be less than the sum of the other two sides. Therefore, as long as the four prime numbers meet these criteria, they can form a quadrilateral.

2. Is it possible for 4 distinct prime numbers to have a common factor?

No, it is not possible for four distinct prime numbers to have a common factor. The definition of a prime number is a number that is only divisible by 1 and itself. Therefore, if four distinct numbers are all prime, they cannot have a common factor.

3. Are there any patterns or relationships between 4 distinct prime numbers?

There are some patterns and relationships that have been observed between prime numbers, but there is no set rule or pattern that applies to all prime numbers. Each prime number is unique and cannot be predicted based on the surrounding prime numbers.

4. Can 4 distinct prime numbers be consecutive?

Yes, 4 distinct prime numbers can be consecutive. For example, the numbers 2, 3, 5, and 7 are all prime and are consecutive. However, this is not always the case and there is no guarantee that four consecutive numbers will all be prime.

5. Is there any significance to 4 distinct prime numbers being related in a certain way?

There is no inherent significance to four distinct prime numbers being related in a certain way. However, depending on the context and the specific relationship between the numbers, there may be some mathematical or scientific significance. It would be necessary to examine the specific relationship to determine any potential significance.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
858
  • Programming and Computer Science
Replies
14
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
10
Views
6K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
5K
  • Calculus and Beyond Homework Help
Replies
16
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
591
  • General Discussion
Replies
16
Views
2K
  • Calculus and Beyond Homework Help
Replies
10
Views
2K
  • General Discussion
Replies
4
Views
2K
Back
Top