If $a_1=1$, $a_2=1$ and $a_n=a_{n-1}+a_{n-2}$ (for $n\ge 3$), write some code that determines the 26th term of this sequence (Ans: 121393).← Back to challenges | Lessons

Run Share Lua reference

Here is a share link to your code:

Close