---Björn Helgason wrote:
>      ((0 { ]) + [: i. 1 + [: {: ] - 0 { ]) 6 11
> 6 7 8 9 10 11
>

Or more simply:
   ({. + [: i. 1 + {: - {.) 6 11
6 7 8 9 10 11
   ({. + [: i. 1 + -~/) 6 11
6 7 8 9 10 11
   ({. + [: i. >:@-~/) 6 11
6 7 8 9 10 11
   ({. + i.@>:@-~/) 6 11
6 7 8 9 10 11
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to