what is the formula for the nth of the sequence 6, 9, 12, 15, 18