So I know how to prove a function is onto if it has 1 variable. But this one has two and I'm confused about how to approach it.
$f: \mathbb{Z} \times \mathbb{Z} \to \mathbb{Z}$ such that for any $(x,y) \in \mathbb{Z} \times \mathbb{Z}$
$f(x,y) = ax + by$