Summation of primes: Difference between revisions
Content added Content deleted
(J draft) |
Drkameleon (talk | contribs) (added Arturo) |
||
Line 125: | Line 125: | ||
sumPrimes below 2000000</syntaxhighlight> |
sumPrimes below 2000000</syntaxhighlight> |
||
=={{header|Arturo}}== |
|||
<syntaxhighlight lang="arturo">print sum select 2..2000000 => prime?</syntaxhighlight> |
|||
{{out}} |
|||
<pre>142913828922</pre> |
|||
=={{header|AWK}}== |
=={{header|AWK}}== |