Let A = {x ∈ Z : 3|x}. Show that A and N has the same cardinality. Hint: construct a function f : A → N (or f : N → A) and show that it is one-to-one and onto.
(Note: in this problem, N stands for the set of all natural numbers but I didn't know how to type that on the computer)