Solving the Prime Numbers Problem: Proving p=q with p and q as Prime Numbers

Click For Summary

Discussion Overview

The discussion revolves around a mathematical problem involving prime numbers, specifically proving that if the expression (p^2+q^2)/(p+q) is an integer, then p must equal q. Participants explore various approaches and hints related to the problem, including potential theorems and algebraic manipulations.

Discussion Character

  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses confusion about how to solve the problem and seeks guidance.
  • Another participant attempts to manipulate the equation but does not reach a clear conclusion.
  • A question is raised about the role of a variable r that might divide the denominator, though its significance remains unclear.
  • Hints are provided regarding the use of a theorem to find integer values of p+q that satisfy a related quadratic equation.
  • One participant suggests using the conjugate rule as a hint for the solution.
  • Several participants propose a generalization of the problem, stating that (p^2+q^2)/(p+q) is prime if and only if p equals q.

Areas of Agreement / Disagreement

There is no clear consensus among participants regarding the solution to the problem, and multiple approaches and interpretations are presented without resolution.

Contextual Notes

Participants express uncertainty about the implications of certain variables and the steps needed to prove the claims made. The discussion includes various algebraic manipulations that may depend on specific assumptions or definitions not fully articulated.

Who May Find This Useful

Readers interested in number theory, particularly those exploring properties of prime numbers and related mathematical problems, may find this discussion relevant.

Carl140
Messages
49
Reaction score
0
Hello,

I can't get this small contest problem. How do you solve this kind of problem?

Let p and q be prime numbers such that (p^2+q^2)/(p+q) is an integer.
Prove p=q.
 
Physics news on Phys.org
I can't figure it out.

p^2+q^2=n1*(p+q)

p(p-n1)+q(q-n1)=0

(p-n1)=n2*(q-n1)

p-n1+n2 n1=n2 q
 
What if r divides the denominator?
 
What's r?
 
Carl140 said:
What's r?
Some number that happens to divide the denominator.
 
I still don't get it, sorry. Can you please explain a little bit more?
 
I think I have a solution but I won't post it without moderator approval.
 
Okay, here is my hint. What theorem might be helpful to show what integer values of p+q will satisfy the following equation?

(p+q)^2-m(p+q)-2pq=0

Where m is an integer, p is prime and q is prime.
 
I got it.
Hint: Use the conjugate rule.


For solution
(p^2+q^2)/(p+q)=(p^2-q^2)+2q^2)(p+q)=p-q+q^2/((p+q)/2)

but q^2 is only divisible by 1,q,q^2. (p+q)/2 is obv not equal to 1. if it is equal to q, p=q and if it is equal to q^2, q|p and then p=q since they are prime.
 
Last edited:
  • #10
Carl140 said:
Hello,

I can't get this small contest problem. How do you solve this kind of problem?

Let p and q be prime numbers such that (p^2+q^2)/(p+q) is an integer.
Prove p=q.

This statement can be more generalised as follows;

Let p and q be prime numbers then (p^2+q^2)/(p+q) is a prime if and only if p = q
 
  • #11
de_brook said:
This statement can be more generalised as follows;

Let p and q be prime numbers then (p^2+q^2)/(p+q) is a prime if and only if p = q
the prime is p = q
 

Similar threads

Replies
48
Views
6K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K