John Randall wrote:
> It can fail if the starting value is bad, and for other reasons.
...
> peigen=:13 : 'y.&iterate^:_ ?(# y.)#100'

I think you'd be less likely to start out with a bad value with 
   peigen=:13 : 'y.&iterate^:_ ?(# y.)#0'

Also, you left out
   mp=: +/ .*

FYI,

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to