Recaman's sequence: Difference between revisions
m
→{{header|BASIC}}: syntax highlighting
Not a robot (talk | contribs) (Add MAD) |
Not a robot (talk | contribs) m (→{{header|BASIC}}: syntax highlighting) |
||
Line 445:
=={{header|BASIC}}==
<lang
20 PRINT "First 15 terms:"
30 FOR N=0 TO 14: GOSUB 100: PRINT A(N);: NEXT
|