Recursioneasy
0:00.0

What is the closed form of the recurrence an=an1+1a_n = a_{n-1} + 1 with a0=0a_0 = 0?