Skip to content

Problem 4

Find the size (cardinality) of the largest subset S⊆1,2,3,…,100S\subseteq{1,2,3,\ldots,100} such that for any distinct a,b,c∈Sa,b,c\in S, gcd⁡(a,b,c)=1\gcd(a,b,c)=1.

Solution

Answer: 3030

Reinterpret the condition as allowing each prime to divide at most two selected numbers. Include 11, which has no prime factors, and all 2525 primes at most 100100.

The PDF adds the composites 86=2⋅4386=2\cdot43, 93=3⋅3193=3\cdot31, 95=5⋅1995=5\cdot19, and 91=7⋅1391=7\cdot13, using each involved prime only once more. This gives 1+25+4=301+25+4=30 elements.

For an upper bound, every composite at most 100100 has a prime factor among 2,3,5,72,3,5,7. At most eight selected numbers can contain these primes, and at most 2121 selected numbers can avoid them other than 11 (one for each remaining prime). Hence ∣S∣≤8+21+1=30|S|\leq8+21+1=30.