Anonymous user
Successive prime differences: Difference between revisions
m
→{{header|REXX}}: elided some dead code.
m (→{{header|REXX}}: added a missing statement.) |
m (→{{header|REXX}}: elided some dead code.) |
||
Line 1,155:
do e=4 by 2 for (N-1)%2; @.e=; end /*treat the even integers > 2 special.*/
/*all primes are indicated with a "." */
do j=1 by 2 for (N-1)%2
if @.j==. then do; if ! then iterate /*Prime? Should skip the top part ? */
jj= j * j /*compute the square of J. ___ */
|