I'm preparing for a discrete math course in September and I'm trying to study on my own this summer. I've run into a bit of trouble with a practice problem I found online and can't really figure it out on my own.
Let A = set of all integers with 2 as a factor
Let B = set of all integers with 3 as a factor
Prove |A| = |B|
I understand that I have to prove a 1-1 correspondence by finding a function that maps A to B and proving bijectivity. But, I'm not sure how to find this function?
Hint: write simply
$$A=2\Bbb Z:=\{...-4,-2,0,2,4,...,2m,...\}\;,\;\;B=3\Bbb Z=\{...-3,0,3,6,...,3m,...\}$$
Can you guess now a nice bijection between the above sets?