Problem 1
Let be any positive integer not equal to , , or . Show that one can find distinct elements and in the set such that is not a perfect square.
Step 2 of 6: Squares are or modulo
Detailed analysis
Since , we get . A perfect square is or modulo , so can only be a square when or . Hence if or , is not a perfect square, and we may take .