数学公式如下:
f(n)={0n=01n=1f(n−1)+f(n−2)n>=1 \begin{align} f(n) = \left\{ \begin{matrix} 0 & n=0 \\ 1 & n=1 \\ f(n-1)+f(n-2) & n>=1 \end{matrix} \right. \end{align} f(n)=⎩⎨⎧01f(n−1)+f(n−2)n=0n=1n>=1