Write the recurrence relation for the nth term which is defined by multiplying the prior term by 3 and subtracting 12.