Let the first term of a series be $T_1 = 6$ and its $r^{th}$ term $T_r = 3T_{r-1} + 6^r$, $r = 2, 3,$ $n$. If the sum of the first $n$ terms of this series is $\frac{1}{5}(n^2 - 12n + 39)(4 \cdot 6^n - 5 \cdot 3^n + 1)$, then $n$ is equal to ______
Numerical-value question: the answer is a number.
Show answer
The answer is 6.
Key from source paper