MathGroup Archive 2005

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

Search the Archive

Re: Multiple Sums in Mathematica


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