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: sum the elements of a list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57510] Re: sum the elements of a list
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Tue, 31 May 2005 04:59:01 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

On 5/29/05 at 9:00 PM, mneedlem at bigpond.net.au (morris) wrote:

>After I do Divisors[28], I wish to add the elements of the list.
>How is this possible?

There are a number of ways to achieve this including:

Total[Divsors@28]
Tr[Divisiors@28]
Plus@@Divisors[28]
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: Trouble with an integral
  • Next by Date: Re: sum the elements of a list
  • Previous by thread: Re: sum the elements of a list
  • Next by thread: Re: sum the elements of a list