Does the following work for you?
I.+./(|:3$,: i. 10) (+./ @:E.)"1/ sep tv
0 3 5
0 3 5{tv
123334 111222 555432-- (B=) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
