why should we take l.c.m of all the powers