Prove that the set $A = \{(x, y) \mid x \text{ is an odd integer and } y \text{ is an even integer}\}$ is enumerable.
I created a matrix with $0, 1, 2, 3, \ldots$ as rows and $0, 1, 2, 3, \ldots$ as columns. Then for the element at row $1$ column $0$, for example, the correspondent value is $(1, 0)$, for the element at row $0$ column $0$ there is no value associated because $0$ is even. Then I created the sets $S_z$ where $z=x+y$, so $S_1=\{(1,0)\}$, $S_3=\{(1,2),(3,0)\}$, $S_5=\{(1,4),(3,2),(5,0)\}, \ldots$ So, I created a list of elements, but the problem is that the set of integers contains also negative numbers. How can I solve this?
One way to get countability is to create an injective function (not necessarily surjective) from your set $A$ to $\Bbb{N}$. Because then the image $f(A)$ of your set is a subset of $\Bbb{N}$, hence $f(A)$ is countable and by injectivity $A$ is countable.
A simple way to achieve this with negative integers etc. is as follows: Let $$f(x,y)=\begin{cases} 2^x \cdot 3^y & \text{ if } x \geq 0, y \geq 0 \\ 5^x \cdot 7^{|y|} & \text{ if } x \geq 0, y < 0\\ 11^{|x|} \cdot 13^{|y|} & \text{ if } x < 0, y < 0\\ 17^{|x|} \cdot 19^y & \text{ if } x < 0, y \geq 0\end{cases}$$ From the uniqueness of prime factorization, injectivity can be concluded fairly quickly.