I have some revision questions in my maths books and I'm a bit stuck on this one.

Is $S=\{n^2:n \in \mathbb{Z}\}$ closed under the usual addition.

I know that for it to be closed the sum of any 2 elements of $S$ must also be in $S$

The solution says it isn't closed but doesn't say why, could anyone help me with this?

Much appreciated

  • 2
    $\begingroup$ You just find a counterexample. $2^2+1^2=5$ and $5$ is not a square. $\endgroup$ – Hanul Jeon Oct 25 '14 at 10:30
  • $\begingroup$ @tetori Thanks, that is super obvious when you explain it like that! $\endgroup$ – panderson Oct 25 '14 at 10:38


Does $1^2+2^2 \in S$? ${}{}{}{}{}$


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.