Przejdź do treści

Zadanie 2 - rozwiązanie

\(fun(n) = \begin{cases} 1 & n\leq 2 \\ fun(n - 1) + 2 * fun(n - 2) & n > 2 \\ \end{cases}\)