I am trying to prove that $22^{1/2}$ is irrational using the classic proof by contradiction. I need to prove an auxiliary modular lemma:
if $n \not\equiv 0$ (mod 22) then $n^{2} \not\equiv 0$ (mod 22).
I know I can just list out all 21 cases where the remainder is a number 1 through 21, but could I just use a smaller mod? Such as mod 2, or mod 11 because they are factors of 22? And somehow relate that back to mod 22?