Anonymous user
Hofstadter Figure-Figure sequences: Difference between revisions
Hofstadter Figure-Figure sequences (view source)
Revision as of 21:43, 8 December 2011
, 12 years ago→{{header|Factor}}: Marked incorrect
(→{{header|Factor}}: Marked incorrect) |
|||
Line 222:
true</pre>
=={{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.
<lang factor>: next ( s r -- news newr )
|