Originally Posted by
HallsofIvy Why do you think Denis got that from a program?
Since we know the prime factorization of 9000, we can write pairs a, b such that ab= 9000 then get m= a+ 1, n= (b- m)/2.
2(4500) so m= 1, n= (4500- 1)/2 is not an integer.
3(3000) so m= 2, n= (3000- 2)/2= 2998/2= 1497. (m, n)= (2, 1497).
4(2250) so m= 3, n= (2250- 3)/2 is not an integer.
5(1800) so m= 4, n= (1800- 5)/2 is not an integer.
6(1300) so m= 5, n= (1300- 5)/2 is not an integer.
8(1125) so m= 7, n= (1125- 7)/2= 559. (m, n)= (7, 559).
etc.