Hello Terrence;
Does 0 belong?
Why all the parentheses?
Why not
+.i.>.-: 27
Terrence Brannon wrote:
I'm sure many of you are suspecting that I am doing a naive implementation of
the Sieve of Eratosthenes -
Ooops. I never asked the question. But I figured out how to get a list
containing every multiple of 2 less than 27:
2*( i.(>. 27 % 2) )
What a genius I am.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
------------------------------------------------------------------------
|\/| Randy A MacDonald | APL: If you can say it, it's done.. (ram)
|/\| [EMAIL PROTECTED] |
|\ | | The only real problem with APL is that
BSc(Math) UNBF'83 | it is "still ahead of its time."
Sapere Aude | - Morten Kromberg
Natural Born APL'er | Demo website: http://156.34.65.44/
-----------------------------------------------------(INTP)----{ gnat }-
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm