Number of Common Factors

Number of Common Factors - Coding Problem | K5kC