You don't mean

   +/\4+i.10
4 9 15 22 30 39 49 60 72 85

do you?



On Thu, Sep 28, 2017 at 11:33 AM, 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

Reply via email to