in reply to Re^3: How to get this not the usual round robin looping
in thread How to get this not the usual round robin looping

hmm, OP has H1-> 1,8,9

My reply was addressed to kcott, not the OP, and so I used kcott’s dataset.

imagine the equation which I won't tell you

I thought the same at first, but if you lay out the sequence, the pattern becomes obvious when you read vertically:

{ H1 => [1, 8, 9], H2 => [2, 7, 10], H3 => [3, 6], H4 => [4, 5] }

Discipulus, in the Chatterbox, identified it as an example of Boustrophedon, which seems like a pretty good description. :-)

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^5: How to get this not the usual round robin looping
by Anonymous Monk on Oct 13, 2015 at 07:30 UTC
    Ah, see that is the kind of crucial detail the homework would have specified .... my version came out like :)
    { H1 => [1, 8, 9], H2 => [2, 7, 10], H3 => [3, 6, 11], H4 => [4, 5, 12], H5 => [13, 20, 21], }