If is the set of positive divisors of and the set of positive divisors of , then is the set of positive divisors of .
Use the inclusion/exclusion principle:
where denotes set cardinality (the number of elements the set contains). The set is the set of common divisors of and . Then
so that and share 3 divisors ; let be their product. They must be prime
This means we can write
so that has up to 8 distinct prime factors.
7.2m questions
9.5m answers