Babbage problem: Difference between revisions

(→‎⍣ operator: Minor change.)
Line 178:
 
=={{header|APL}}==
===⍳ operator===
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>
===⍣ operator===
<syntaxhighlight lang=apl>2+⍣{269696=1000000|⍺*2}520</syntaxhighlight>
</syntaxhighlight>
 
{{out}}
<pre>25264</pre>
25264
</pre>
 
=={{header|AppleScript}}==
422

edits