Compare the numbers in the following sequence and try to determine what the next number should be.
6, 9, 18, 21, 42, 45, ?

Now When i did the math I thought it might be 54 but I'm not sure can someone help me or tell me if I'm right!