Recursionhard
0:00.0

Solve the recurrence an=2an1+1a_n = 2a_{n-1} + 1 with a0=0a_0 = 0 using generating functions. If A(x)=n=0anxnA(x) = \sum_{n=0}^{\infty} a_n x^n, which of the following is the correct generating function A(x)A(x)?