(a) Let and be positive integers such that is an integer. Prove that is a square.
(b) Find integers and , both not equal to zero, such that is a positive integer, but not a square.
Solution
(a) Since is an integer, is also an integer. This can be written as . We see that is a divisor of . In particular, is a divisor of , and thus . But that means is a divisor of and therefore also of , which implies . We can now write with a positive integer. Then is a divisor of , so is a divisor of . This implies that is a divisor of 3 (i.e., or ) and that is a divisor of .
First, assume . Then . Substituting this gives , which is the square of .
Now assume . From we get or . In the first case, and in the second case, . Substituting the first possibility gives , which is a square. Substituting the second possibility gives , which is also a square.
We conclude that is a square in all cases.
(b) Take and . Then . This is a positive integer, but not a square. After all the work in part (a), this answer is not hard to find. You know that must be of the form , now with , and that must be a divisor of 3. Moreover, does not work, as it always results in a square. The rest of the possibilities for can be simply tested.