The greatest common factor of a and B is 6, and the least common multiple is 36. How many numbers can a and B be?

The greatest common factor of a and B is 6, and the least common multiple is 36. How many numbers can a and B be?

Because 36 △ 6 = 6, there are two cases in which 6 is decomposed into two coprime numbers, i.e. 1 and 6, 2 and 3, so the two numbers have several cases: 6 × 1 = 6, 6 × 6 = 36 (in line with the meaning of the problem), 6 × 2 = 12, 6 × 3 = 18 (in line with the meaning of the problem). A: these two numbers are 6 and 36 or 12 and 18