Bill Allombert on Sat, 16 Feb 2019 18:05:02 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Evaluating Multiple Sums in PARI/GP

On Fri, Feb 15, 2019 at 08:28:37PM +0300, kevin lucas wrote:
> I recently ran into problems attempting to formulate a PARI program that
> evaluated the expression
> sum(((-1)^(a+b+c))/(a^2 + b^2 + c^2)^s)
> for various complex values of s, with a,b,c running over Z^3/{(0,0,0)}. How
> should I attempt this? More generally, how should one set up iterated
> alternating sums like these? If, for instance I also wanted the
> eight-dimensional version of the above sum, how would I compute it?

Is it not some kind of theta function ?
Then you could use lfunqf (with Q=matid(8)).