12-29-2014, 01:55 AM

Hi all,

I was reading this bug report for the 50g http://bugs.hpcalc.org/show_bug.cgi?id=238 and entered the same sum into the Prime for testing:

sum from k=1 to infinity (((1+i)/2)^k)

the Prime gives me 0 as the result.

CAS mode, Settings: Exact on, Complex off (turning it on doesn't change the result), Use sqrt on, Use i on.

I can also reproduce this in Giac/Xcas:

`sum(((1+i)/2)^k, k=1...+infinity)`

gives me 0 as well.

In contrast, WolframAlpha says the result is i

http://www.wolframalpha.com/input/?i=sum...o+infinity

Trying a few finite upper boundaries on the Prime suggests that Wolfram Alpha is correct, and Giac/Prime are wrong.

I was reading this bug report for the 50g http://bugs.hpcalc.org/show_bug.cgi?id=238 and entered the same sum into the Prime for testing:

sum from k=1 to infinity (((1+i)/2)^k)

the Prime gives me 0 as the result.

CAS mode, Settings: Exact on, Complex off (turning it on doesn't change the result), Use sqrt on, Use i on.

I can also reproduce this in Giac/Xcas:

`sum(((1+i)/2)^k, k=1...+infinity)`

gives me 0 as well.

In contrast, WolframAlpha says the result is i

http://www.wolframalpha.com/input/?i=sum...o+infinity

Trying a few finite upper boundaries on the Prime suggests that Wolfram Alpha is correct, and Giac/Prime are wrong.