Skip to main content
OlympiadHQ

Browse · MathNet

Print

65th Czech and Slovak Mathematical Olympiad

Czech Republic counting and probability

Problem

In how many ways can you partition the set into six mutually disjoint two-element sets in such a way that the two elements in any set are coprime?
Solution
No two even numbers can be in the same set (pair). Let us call partitions of with this property, that is one even and one odd number in each pair, even-odd partitions. The only further limitations are, that nor cannot be paired with or , and cannot be paired with .

That means, that odd numbers , and can be paired with numbers , , , , , , numbers and with , , , and number can be paired with , , , , . We cannot use the product rule directly, we distinguish two cases: is paired with or , in the second one is paired with one of , , and . The possible pairings are in the first case, in the second case. Together pairings.
Final answer
252

Techniques

Matchings, Marriage Lemma, Tutte's theoremRecursion, bijectionGreatest common divisors (gcd)