Problem:
If is a positive integer less than , for how many values of does the system
have integer solutions?
Problem:
If is a positive integer less than , for how many values of does the system
have integer solutions?
Solution:
The answer is . Subtracting the two equations term by term we get , that is .
Suppose that the first factor vanishes, that is : substituting, must satisfy the equation . Hence must be such that
This happens if and only if is such that is the square of an odd number. In other words, must be such that there exists an such that , that is such that . Since , the acceptable values of are those from to inclusive.
Now suppose that the second factor vanishes. Proceeding analogously to the previous case, ; substituting, must satisfy the equation . must be such that
Once again must be the square of an odd integer, that is , that is . The acceptable values of are those from to inclusive and give all values of distinct from those of the previous case.
Summing up we have values of from the first case and from the second for a total of integer values of for which the system has integer solutions.