LCM problem