What kind of problems can be solved using greatest common factor and lowest common multiples