Perfect Square : A number when written as product of prime factors , if each prime factor has even number as its power , then the number is perfect square. Writing the given number as product of prime factors 6 = 2 x 3 12 = 2³ x 3 18 = 2 x 3² 24= 2³ x 3 LCM = 2³ x 3² = 72 But 72 is not the perfect square. But multiples of 72 are also exactly divisible by given numbers. 72 x 2 =144 is the perfect square.
L.C.M. of 5,6,7,8 = 840. Required number is of the form 840k + 3 Least value of k for which (840k + 3) is divisible by 9 is k = 2. Required number = (840 X 2 + 3)=1683