Solution
2.3.6.1
.
\(a_n = n^2 - n + 1\text{.}\)
in-context