Are There Any Other Prime Solutions to the Equation x(x+1)+y(y+1)=z(z+1)?

  • Context: Graduate 
  • Thread starter Thread starter secretchord
  • Start date Start date
  • Tags Tags
    Prime
Click For Summary
SUMMARY

The equation x(x+1)+y(y+1)=z(z+1) has been explored for solutions over prime numbers, with the only confirmed solution being x=y=2 and z=3. The author hypothesizes that this is the sole solution among primes, supported by the absence of other solutions for x and y values below 100,000. A Python script is provided to check for prime pairs and compute potential z values, but no additional solutions have been identified. The discussion highlights the complexity of proving the uniqueness of this solution.

PREREQUISITES
  • Understanding of prime numbers and their properties
  • Familiarity with algebraic equations and their manipulation
  • Basic knowledge of Python programming and algorithm development
  • Experience with computational methods for number theory
NEXT STEPS
  • Investigate advanced number theory concepts related to prime distributions
  • Explore computational techniques for verifying prime solutions in equations
  • Learn about mathematical proofs for uniqueness in number theory
  • Examine the implications of the equation in combinatorial mathematics
USEFUL FOR

Mathematicians, number theorists, and programmers interested in prime number research and computational problem-solving in algebraic equations.

secretchord
Messages
1
Reaction score
0
I want to solve equation [itex]x(x+1)+y(y+1)=z(z+1)[/itex] over primes. I found a solution x=y=2, z=3 and I have a hypothesis that this is the only solution over prime numbers, but I cannot prove it or find any other solution. Any hints, please?
 
Physics news on Phys.org
I can confirm that there are no other solutions for x,y below 100 000.
The fact that 2 is in that one solution could be a hint that there are no other solutions, but I don't see a simple proof.

Python:
Code:
def isprime(n):
    for x in range(2, int(n**0.5)+1):
        if n % x == 0:
            return False
    return True

primes= []
for x in range(2,100000):
  if(isprime(x)):
    primes.append(x)

for x in primes:
  if(x%1000==1):
    print("computing: ",x)
  for y in primes:
    zz=x*(x+1)+y*(y+1)
    z=1/2*(1+4*zz)**0.5-1/2
    if(round(z,0)==z and isprime(z)):
      print(x,y,round(z,0))
 
Last edited:
The terms A(A+1) are twice the sum of a series, dividing by 2 we get an equation that says: I need to sums of series that add to a third sum. This is about as far as I got, May not be much help but is a different view.
 

Similar threads

Replies
48
Views
6K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 26 ·
Replies
26
Views
2K