An operation where it is closed under the operation but is not a group

abstract-algebragroup-theory

This is the question:

Give an example of a group $G$ (Where you need to specify the operation) together with a non-empty subset $H$ of $G$ that is closed under the operation of $G$ but that is not a subgroup.

If I'm understanding correctly. I need to provide the operation $G$ where a non-empty subset $H \subseteq G$ that is closed under $G$ but is not a subgroup… But if it is closed under $G$, shouldn't it be a subgroup as well?

Best Answer

Take $G = \Bbb Z$ and $H = \Bbb N$.