Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Re: HoldForm and Sum

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121782] Re: HoldForm and Sum
  • From: Alan <alan.isaac at gmail.com>
  • Date: Sun, 2 Oct 2011 02:35:30 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <j66e8v$hbs$1@smc.vnet.net>
  • Reply-to: comp.soft-sys.math.mathematica at googlegroups.com

You can get the terms you want as
Sum[(HoldForm[#1] &)[(-1)^Quotient[i - 1, 3]/i], {i, 1, 12}]

I don't know how to keep them in the order you want.

Alan Isaac



  • Prev by Date: Re: HoldForm and Sum
  • Next by Date: Re: HoldForm and Sum
  • Previous by thread: Re: HoldForm and Sum
  • Next by thread: Re: HoldForm and Sum