Successive prime differences: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: added a missing statement.) |
|||
Line 1,160: | Line 1,160: | ||
if jj>N then != 1 /*indicate skip top part if j > √ N */ |
if jj>N then != 1 /*indicate skip top part if j > √ N */ |
||
do m=jj to N by j+j; @.m=; end /*odd multiples.*/ |
do m=jj to N by j+j; @.m=; end /*odd multiples.*/ |
||
end /* [↑] strike odd multiples ¬ prime. */ |
end /* [↑] strike odd multiples ¬ prime. */ |
||
end /*j*/; return</lang> |
|||
{{out|output|text= when using the default inputs:}} |
{{out|output|text= when using the default inputs:}} |
||
<pre> |
<pre> |