'0' -.~ ,'),',"1~ '(',"1 ": +\4+i.10
just add + here and there
On 28 Sep 2017 18:34, "Skip Cave" <[email protected]> wrote:
> What is a good way to generate this sequence in J?
>
> 4,(4+5),(4+5+6),(4+5+6+7),(4+5+6+7+8)+.....
>
> Show one way using i. and insert.
>
> Show another way using recursion.
>
> Skip
>
> Skip Cave
> Cave Consulting LLC
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm