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

Reply via email to