Guest Session: 1 Question Remaining. Create Account to save progress.
Login
Recursionmedium
0:00.0

Consider the recursive function:

f(n)={1if n=03f(n−1)+2if n>0f(n) = \begin{cases} 1 & \text{if } n = 0 \\ 3f(n-1) + 2 & \text{if } n > 0 \end{cases}f(n)={13f(n−1)+2​if n=0if n>0​

What is f(3)f(3)f(3)?