another approach could be 

series=: +/\@#   NB. sums x subsets with elements of value y

cheers, bob

On 2011-02-18, at 10:58 AM, Skip Cave wrote:

> Never mind. I had a programming block.
> 
>  6 * 1 + i. 7
> 
> Skip
> 
> On 2/18/2011 12:51 PM, Skip Cave wrote:
>> I need a function
>> 
>> x series y
>> 
>> where: 5 series 15
>> produces: 15 30 45 60 75
>> 
>> 7 series 6
>> 6 12 18 24 30 36 42
>> 
>> Any ideas?
>> 
>> Skip
>> 
>> 
>> 
>> 
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>> 
> 
> ----------------------------------------------------------------------
> 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