3. (13 points) Let p be a prime. Find all possible values of p2mod 40. Prove the correctness of your answer. (Answering without proof will not receive any credit.)