while( n & 0xfff ) n <<= 1; lcm = n;