Hofstadter Figure-Figure sequences: Difference between revisions
Content added Content deleted
(→{{header|Factor}}: Marked incorrect) |
|||
Line 222: | Line 222: | ||
true</pre> |
true</pre> |
||
=={{header|Factor}}== |
=={{header|Factor}}== |
||
{{incorrect|Factor|See talk page}} |
|||
The core of this algorithm builds up a list of S and R one at a time. The solution to task 1 follows. |
The core of this algorithm builds up a list of S and R one at a time. The solution to task 1 follows. |
||
<lang factor>: next ( s r -- news newr ) |
<lang factor>: next ( s r -- news newr ) |