This was a problem on one of my recent discrete math exams and no one in the class was able to find the solution. My proof (which is definitely incorrect) is below. Any help would be appreciated.
Fact: Prove or disprove: If n is an integer with $n^2 = 3k$ for some integer k, then $n = 3j$ for some integer j.
Proof: If n is an integer with n^2 = 3k for integer k then n must be a factor of 3. Otherwise, its square would not yield 3k. This means that 3k = 9j. (3j)(3j) = 3k
Case: [n=6]
$n=6$
$n^2=36$
$k=12$
$j=2$
$36=3(12)$
$6=3(2)$
$3(12)=9(2)^2$
Is proven correct in the case of $n=6$.
Note that $$n\equiv 0,1,2\mod 3$$ so $$n^2\equiv 0,1 \mod 3$$