Let $A=\{ a \in \Bbb{N} : a \text{ even}\}$ and $B=\{b \in \Bbb{N} : b \text{ odd}\}$ Define a funtion $f:A \times B \to \Bbb{N}$ by $f(a,b)=(a+2b)/2$.
How do you show this function is surjective?
Let $A=\{ a \in \Bbb{N} : a \text{ even}\}$ and $B=\{b \in \Bbb{N} : b \text{ odd}\}$ Define a funtion $f:A \times B \to \Bbb{N}$ by $f(a,b)=(a+2b)/2$.
How do you show this function is surjective?