I have to calculate the sum
$\displaystyle\sum_{k=1}^n \displaystyle\frac{3^k}{3^{2k+1}-3^k-3^{k+1}+1}$
We can re-write the sum as follows
$\displaystyle\sum_{k=1}^n \displaystyle\frac{3^k-1+1}{(3^{k+1}-1)(3^k-1)}$
And then we obtain
$\displaystyle\sum_{k=1}^n \displaystyle\frac{1}{3^{k+1}-1}+\displaystyle\sum_{k=1}^n \displaystyle\frac{1}{(3^{k+1}-1)(3^k-1)}$
But I don't know what to do with the last two sums. Can anyone help me with them. Thanks