Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Multiple Sums in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53720] Re: Multiple Sums in Mathematica
  • From: "Astanoff" <astanoff at yahoo.fr>
  • Date: Tue, 25 Jan 2005 05:03:15 -0500 (EST)
  • References: <csvir2$avi$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Maybe this example is what you're looking for :

In[1]:=
n=5;
indices={#,1,m}& /@Array[i,n];
f:=Plus@@Array[i,n];(*for instance*)

In[4]:=
Sum[Evaluate[f], Evaluate[Sequence@@indices]]
Out[4]=
m^4*(2*m + 2*m^2 + (1/2)*m*(1 + m))


V.A.


  • Prev by Date: FromDigits[{135,21}] -> 1371 (??!!)
  • Next by Date: Re:Numbers and their reversals
  • Previous by thread: Re: Multiple Sums in Mathematica
  • Next by thread: Re: Re: Multiple Sums in Mathematica