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

  • Thread starter Thread starter drosser
  • Start date Start date
  • Tags Tags
    Function Integer
AI Thread Summary
Finding integer solutions for the function (x^2-R)/(P-2x)=y involves determining integer values of x that yield integer y values, with constraints on x being between the square root of R and P/2. The equivalent equation x^2 + Px + R = y suggests y must be a perfect square, leading to the condition that sqrt(x^2 + Px + R) must also be an integer. Given the large values of P and R, a brute force approach or a generalized equation may be necessary to explore potential solutions. Additional insights into the properties of P and R, such as whether P^2 - 4R is a square, could help identify Pythagorean triplet solutions. Overall, more information about the parameters is essential for effective solution finding.
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.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...

Similar threads

Replies
2
Views
1K
Replies
2
Views
1K
Replies
1
Views
2K
Replies
2
Views
1K
Replies
1
Views
2K
Back
Top