Question 9
Number theory · Combinatorics BDMO 2021 National
A pair of distinct integers are called friendly if they are not coprime. Using the numbers 1, 2, 3, 4, 5, 6, 7, 8, at most 2 disjoint friendly pairs can be formed, for example: and . How many disjoint friendly pairs can be formed using the numbers ?