Factoring and LCM (Least Common Multiple)