nonequilibrium
- 1,412
- 2
I bumped into this problem on the net, and the question is as follows:
How would you go on to solve this?
Here are the solutions for the given equation:
p = \frac{-x^2}{x-444}
x = (-p \pm\sqrt{p^2+1776p})/2
Remember x must be an integer, so there must be an integer q = np+m and q² = p²+1776p, making
x = ( -p \pm(np+m) )/2
= ( -p \pmnp \pmm )/2
= \pmp.(n\mp1)/2 \pmm/2
We see:
This is as far as I can reason... I probably calculated unnecessary information.
The site I got this problem from seems to have neglected to add a solution, so I can't check for answers. I'm curious what you think is the easiest way to solve this.
We have a prime p and the solutions of x²+px-444p = 0 are integers.
What do we know about p:
A) 0 < p \leq 11
B) 11 < p \leq 21
C) 21 < p \leq 31
D) 31 < p \leq 41
E) 41 < p \leq 51
How would you go on to solve this?
Here are the solutions for the given equation:
p = \frac{-x^2}{x-444}
x = (-p \pm\sqrt{p^2+1776p})/2
Remember x must be an integer, so there must be an integer q = np+m and q² = p²+1776p, making
x = ( -p \pm(np+m) )/2
= ( -p \pmnp \pmm )/2
= \pmp.(n\mp1)/2 \pmm/2
We see:
- m is either even or zero (when divided by two it is an integer)
- as p is a prime number, (n\mp1) must be dividable by two, so n is odd
This is as far as I can reason... I probably calculated unnecessary information.
The site I got this problem from seems to have neglected to add a solution, so I can't check for answers. I'm curious what you think is the easiest way to solve this.