Does this help? !i.-8 5040 720 120 24 6 2 1 1
1 A.i.-8 7 6 5 4 3 2 0 1 2 A.i.-8 7 6 5 4 3 1 2 0 6 A.i.-8 7 6 5 4 2 3 1 0 24 A.i.-8 7 6 5 3 4 2 1 0 120 A.i.-8 7 6 4 5 3 2 1 0 720 A.i.-8 7 5 6 4 3 2 1 0 5040 A.i.-8 6 7 5 4 3 2 1 0 In other words: permutations are related to factorials, and J's permutation verb uses that relationship. Note, also: 3 A.i.-8 7 6 5 4 3 1 0 2 2 A. 1 A. i.-8 7 6 5 4 3 0 2 1 (And other examples behave similarly.) -- Raul On Sat, Apr 30, 2016 at 11:30 AM, 'Pascal Jasmin' via Programming <[email protected]> wrote: > A. 1 3 5 > 36 > A. 5 1 3 > 40 > A. 1 5 3 > 37 > > A. 5 3 1 > 41 > > do these results "mean" anything? I'm not sure that A. is defined for "open > lists", though this does give an answer. > > One meaning is 36 + A. (permutation of 0 1 2 in same sorted order as > permutation of 1 3 5). Where does 36 come from? > > A. 0 1 5 > 300 > where does 300 come from? > > > A. 3 4 5 > 0 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
