common factor maths definition