Re: Iterator problem.

*To*: mathgroup at smc.vnet.net*Subject*: [mg52350] Re: [mg52327] Iterator problem.*From*: yehuda ben-shimol <benshimo at bgu.ac.il>*Date*: Wed, 24 Nov 2004 02:32:21 -0500 (EST)*References*: <200411230712.CAA29378@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

There is an error in the definition of your bounds (cyclic definition actually). The upper bound for i is j. The lower bound for j is i , so you cannot expect a software to solve it, isn't it ;) ? yehuda Robert G. Wilson v wrote: >Hello, > > I am having a problem with iterators in Mathematica. > > I have a sequence of integers defined by a[n]. I wish to build a table >of integers out of the above such that this table only contains integers of >the form a(i)+a(j)+a(k). > > I tried Table[a[i] + a[j] + a[k], {k, 1, 3}, {j, i, k}, {i, 1, j}] but >the iterators do not have appropriate bounds. > > Any help would be greatly appreciated. > >Sincerely, > >Bob. > > >

**References**:**Iterator problem.***From:*"Robert G. Wilson v" <rgwv@rgwv.com>