L.C.M. of 6, 9, 15 and 18 is 90.Let required number be 90k + 4, which is multiple of 7.Least value of k for which (90k + 4) is divisible by 7 is k = 4.Required number = (90 x 4) + 4 = 364.
Let the numbers be 3x, 4x and 5x.Then, their L.C.M. = 60x.So, 60x = 2400 or x = 40. The numbers are (3 x 40), (4 x 40) and (5 x 40).Hence, required H.C.F. = 40.