Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Sum question and general comment

  • To: mathgroup at
  • Subject: [mg50700] Re: Sum question and general comment
  • From: Bill Rowe <readnewsciv at>
  • Date: Fri, 17 Sep 2004 01:16:36 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

On 9/15/04 at 1:49 AM, stevebg at (Steve Gray) wrote:

>I find no way to do, for example, "Sum over i=1 to 100 except i!=
>23 and 36", etc.,

An obvious way would be to express this as three sums, i.e.,


>or Sum over values belonging to a list, such as
>"Sum over i (belonging to) {1,2,3,5,7,8,21}", etc., 

This is easily done as one of the following


where list is the list of values you want to sum over

In fact, this same technique can be used to solve your first problem as well, i.e.

To reply via email subtract one hundred and four

  • Prev by Date: Statistics`NormalDistribution` doesn't work?
  • Next by Date: Re: how do I display "Power[z,-1]" in an exponetial form?
  • Previous by thread: Re: Sum question and general comment
  • Next by thread: Re: Sum question and general comment