Set Theoryhard
0:00.0

Let U={1,2,3,,12}U = \{1, 2, 3, \dots, 12\}. Let AA be the set of divisors of 12 in UU, and BB be the set of divisors of 18 in UU. We define a set of ordered pairs S={(x,y)A×B:gcd(x,y)AB}S = \{ (x, y) \in A \times B : \text{gcd}(x, y) \in A \cap B \}. What is the cardinality of SS?