micromass said:
Then you'll need to find ##n## and ##m## such that
4n^2 + 64n - 31 = m^2
I have solved very similar questions already in your previous threads. So I'm sure you can handle it from here.
I have made a slight change, say now the quadratic expression is ( I have only removed the coefficient of x^2)
x^2 + 648x + 247 = m^2, ( x, m both are integer). Also for some purpose I will be considering quadratic expression where the 'x' term and the constant(here 247) are either odd-even or viceversa.
I can break the above quadratic expression into,
x^2 + ( 2*323*x + 2x ) + ( 323^2 - 2y ) ...(1)
x^2 + ( 2*322*x + 4x ) + ( 322^2 - 4y ) ...(2)
x^2 + ( 2*321*x + 6x ) + ( 321^2 - 6y ) ...(3)
and so on ... untill
x^2 + ( 2*1*x + 2*323*x ) + ( 1^2 - 2*323*y ) ...(323)
Lets take equ(1)
it can be rearrange into
( x^2 + 2*323*x + 323^2 ) + 2(x-y)
(x + 323 )^2 + 2(x-y)
So if x=y, then the above quadratic expression has a perfect square. But since we are only taking x and m as integer, here too y has to be an integer.
Also,
323^2 - 2y = 247
2y = ( 323^2 - 247 )
y = ( 323^2 - 247 ) / 2
which is divisible by 2
i.e y = 52041 ( an integer)
For every such quadratic expression (in the general form, where the x term and the constant are either odd-even or viceversa)
dividing with 2(i.e first equation equ(1) ) is always a perfect square. Which I do not need in my problem.
Similarly for equ(2,3,...), it is
y = ( 322^2 - 247 ) / 4
y = ( 321^2 - 247 ) / 6
y = ( 320^2 - 247 ) / 8 and so on...
If any on the above y value is an integer then the above quadratic expression will have as many perfect square.
But I cannot do them all these manually, I failed to get other any way that can tell me if the quadratic can generate perfect square(ignoring dividing by 2).
Thank you.