Let \(n\) be an integer. Prove that if \(n^2\) is divisible by \(2\), then \(n\) is divisible by \(2\).