You are indeed correct. The six disappears because it is 2x3, and 8 and 9 both take care of both. The important thing is the power to which each prime factor is raised to. I could attempt to explain, but wikipedia should suffice:
Least Common Multiples Explained
The "Alternative Method" applies to your situation more clearly, as the example given has more than 2 factors to consider.