t_n=1-\sum_{k=1}^n\frac 1{3^k}=2-\frac{1-\frac 1{3^{n+1}}}{1-\frac 13}=\frac{3^n+1}{2\cdot 3^n}