Recursionhard
0:00.0

What is the closed-form solution to an=an−1+2n−1a_n = a_{n-1} + 2n - 1 with a0=0a_0 = 0?