Paragraph

Not counting the first term (the 4) there are \(n\) summands of \(2+3(n-1) = 3n-1\) so the right-hand side becomes \(4+(3n-1)n\text{.}\)

in-context