Let $A:=\{2^a\cdot3^b: a,b\in\mathbb{N}\}$. Show that $|\mathbb{N}\times \mathbb{N}|=|A|$.
I need to show that the cardinality is the same for $\mathbb{N}\times \mathbb{N}$ and $A$ by showing that the function is bijective. I think I figured out how to show that the function is injective, but I am stuck on surjective. I think I need to set y equal to the equation and solve for the variables, and then plug them back into the equation, but I'm not sure how to handle the 2 variables in the exponents. Thanks.