$$r_n = 2\left(r_{n-1} - \binom{n-1}{2}\right) + \binom{n-1}{2}$$
which is equal to $$r_n - 2r_{n-1} = -\frac{n^2-3n+2}{2}$$
This given recurrence relation is derived from the question "How many regions line n could make at most in Euclidean plane?"
To solve this relation and make it into non-recurrent form,
I had looked in Wikipedia but I only get to the point of solving the homogeneous part only.
$r_n - 2r_{n-1} = 0$ gives $\alpha \cdot2^n$ as a solution of homogenous part.
How should one deal with non-homogeneous part?