For all positive integers $n$, the $n$th triangular number $T_n$ is defined as $T_n = 1+2+3+ \cdots + n$. What is the greatest possible value of the greatest common divisor of $4T_n$ and $n-1$?
Since $T_n=1+2+ \dots+n = \frac{n(n+1)}{2}$ I have that $4T_n=\frac{4n(n+1)}{2}=2n(n+1)$
So I am to compute $\gcd(2n(n+1),n-1)$? Using long division I got that $$\frac{2 n^{2} + 2 n}{n - 1}=2 n + 4+\frac{4}{n - 1} $$ but I don't know how to proceed?