Problem 4
Find the size (cardinality) of the largest subset such that for any distinct , .
Solution
Answer:
Reinterpret the condition as allowing each prime to divide at most two selected numbers. Include , which has no prime factors, and all primes at most .
The PDF adds the composites , , , and , using each involved prime only once more. This gives elements.
For an upper bound, every composite at most has a prime factor among . At most eight selected numbers can contain these primes, and at most selected numbers can avoid them other than (one for each remaining prime). Hence .
