what is the nth term of the progression 27, 9, 3, ....

I found 81/(3^n) to work.