Leonardo numbers: Difference between revisions
Content added Content deleted
(→{{header|RPL}}: one-liner) |
m (→RPL: One-liner) |
||
Line 2,169: | Line 2,169: | ||
</pre> |
</pre> |
||
===One-liner=== |
===One-liner=== |
||
≪ → l0 l1 add n ≪ l0 l1 2 n '''START''' DUP2 + add + '''NEXT''' n 1 + →LIST ≫ ≫ ''''LEONE'''' STO |
≪ 3 MAX → l0 l1 add n ≪ l0 l1 2 n '''START''' DUP2 + add + '''NEXT''' n 1 + →LIST ≫ ≫ ''''LEONE'''' STO |
||
{{in}} |
{{in}} |
||
<pre> |
<pre> |