Prime Factorization and LCM of Two Numbers