Least common multiple: repeating factors