Consider the equivalence relation $E$ defined on the set $A = \{x \in \mathbb N \mid 1 \le x \le 40\}$ by
$xEy$ if and only if $x$ and $y$ have the same set of prime factors.
(a) Provide two distinct equivalence classes under $E$ that have the largest cardinality.
You should write down all elements in the equivalence classes in (a)
The answer for (a) are $[2] = \{2, 4, 8, 16, 32\}$ and $[6] = \{6, 12, 18, 24, 36\}$. Can anyone show me how to get this?
Prime factorize all the numbers between 1 and 40, group them into their equivalence classes by seeing which ones have the same prime factors, and then see that the two largest have the same cardinality.