Or, rephrased slightly, to emphasize structure:
   ,(,|:i.2 3)|:i.6#2

Another approach would be:
   #.0 2 4 1 3 5{"1#:i.64
or, if you prefer:
   (,|:i.3 2)&{"1&.#:,i.6#2
(and there's an obvious third variant on this approach which is shorter.)

Thanks,

--
Raul


On Fri, Jul 30, 2021 at 12:45 AM 'robert therriault' via Programming
<[email protected]> wrote:
>
> Nice puzzle Elijah,
>
>    , 0 3 1 4 2 5 |: i.2 2 2 2 2 2
> 0 1 8 9 2 3 10 11 16 17 24 25 18 19 26 27 4 5 12 13 6 7 14 15 20 21 28 29 22 
> 23 30 31 32 33 40 41 34 35 42 43 48 49 56 57 50 51 58 59 36 37 44 45 38 39 46 
> 47 52 53 60 61 54 55 62 63
>
> Cheers, bob
>
> > On Jul 29, 2021, at 19:07, Elijah Stone <[email protected]> wrote:
> >
> > 0 1 8 9 2 3 10 11 16 17 24 25 18 19 26 27 4 5 12 13 6 7 14 15 20 21 28 29 
> > 22 23 30 31 32 33 40 41 34 35 42 43 48 49 56 57 50 51 58 59 36 37 44 45 38 
> > 39 46 47 52 53 60 61 54 55 62 63
>
> ----------------------------------------------------------------------
> 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