Babbage problem: Difference between revisions
Content deleted Content added
Cyril Nocton (talk | contribs) →⍣ operator: Minor change. |
Cyril Nocton (talk | contribs) |
||
Line 178:
=={{header|APL}}==
===⍳
If at all possible, I would sit down at a terminal <i>with</i> Babbage and invite him to experiment with the various functions used in the program.
<syntaxhighlight lang="apl"> ⍝ We know that 99,736 is a valid answer, so we only need to test the positive integers from 1 up to there:
Line 192:
{{out}}
<pre>25264</pre>
===⍣
<syntaxhighlight lang=apl>2+⍣{269696=1000000|⍺*2}520
</syntaxhighlight>
{{out}}
<
25264
</pre>
=={{header|AppleScript}}==
|