What is the best method for finding integer solutions to a challenging function?

  • Context: Graduate 
  • Thread starter Thread starter drosser
  • Start date Start date
  • Tags Tags
    Function Integer
Click For Summary
SUMMARY

The discussion focuses on finding integer solutions for the equation (x^2 - R) / (P - 2x) = y, where P and R are extremely large integer values. The participants suggest that the equivalent equation x^2 + Px + R = y must yield a perfect square for y to be an integer. They emphasize the importance of analyzing the discriminant P^2 - 4R to identify potential integer solutions, particularly through the lens of Pythagorean triplets and prime factor decomposition.

PREREQUISITES
  • Understanding of quadratic equations and their properties
  • Familiarity with integer factorization techniques
  • Knowledge of Pythagorean triplets and their applications
  • Experience with numerical methods for brute force searching
NEXT STEPS
  • Research methods for solving quadratic equations with large coefficients
  • Learn about integer factorization algorithms and their efficiency
  • Explore the properties of Pythagorean triplets in relation to quadratic equations
  • Investigate programming techniques for implementing brute force searches in large integer spaces
USEFUL FOR

Mathematicians, computer scientists, and anyone involved in number theory or algorithm development focused on solving complex integer equations.

drosser
Messages
13
Reaction score
0
Is there a quick way to find integer values of x that give integer values for y?

(x^2-R)/(P-2x)=y

sqrt(R) rounded down<x<P/2

an equivalent equation is

x^2+Px+R=y y= a perfect square

sqrt(x^2+Px+R)= integer

P and R are integer values. They are very large.
P=1.720901664588208977632751606930114527882871349707453690712637328347852193783039275682367157744911327176901e+106

R=1.611966555644167779663503662738501807226651661942209780569274299995114404468640924608971613224013135298666e+105

Maybe a generalized equation or a program?
 
Mathematics news on Phys.org
You could search for it in a brute force approach. Otherwise we probably need more information about ##P,R##, e.g. if ##P^2-4R## is a square in which case we have Pythagorean triplets as solutions, or the prime factor decomposition of them.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
29K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K