Don's better implementation than mine for finding an arbitrary repeat 
occurrence still does that (find 2nd)






On Tuesday, August 30, 2022 at 10:49:14 a.m. EDT, Raul Miller 
<rauldmil...@gmail.com> wrote: 





On Tue, Aug 30, 2022 at 10:05 AM Don Guinn <dongu...@gmail.com> wrote:
> Oops! should have been
>
> timespacex '100 findxth 1;A'
> 0.0925588 1.35533e8

For what it's worth, the context here was specifically finding the
second instance of a value.

https://rosettacode.org/wiki/Sieve_of_Pritchard#J


Thanks,

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

Reply via email to