Dan Bron wrote: > John wrote: >> Primes less than or equal to y+1 (I think). > > This is my favorite answer so far, ironically because of its verbosity. > Approximately how long did it take you? (To come to your conclusion, not > to write it up)
I guessed that it was primes within about 10 seconds. It looked like selecting things that were not products of a list with itself. It took maybe 2-3 minutes to convince myself and get y+1 rather than y as an edge condition. I still have not checked it with the interpreter. Best wishes, John ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
