Prove eachh mathematical statement for integers m,n,k,p,a,b

12. For every prime p and nonzero n we have n^2 is congruent to nMODp if and only if either n is congruent to 1MODp or n is congruent to 0MODp.