Fibonacci sequence: Difference between revisions
Content added Content deleted
Basicgames (talk | contribs) |
m (→{{header|Red}}) |
||
Line 11,498: | Line 11,498: | ||
=={{header|Red}}== |
=={{header|Red}}== |
||
(unnecessarily, but pleasantly palindromic) |
(unnecessarily, but pleasantly palindromic) |
||
<syntaxhighlight lang="red"> |
<syntaxhighlight lang="red">Red [] |
||
palindrome: [fn: fn-1 + fn-1: fn] |
|||
fibonacci: func [n][ |
fibonacci: func [n][ |
||
fn-1: 0 |
fn-1: 0 |