Running Reduce (Free CSL version, revision 5368), 24-Jun-20 ... under Windows7 I enter
1: prod(2*n/(2*n-1), n, 1, k);
and get as result
(2**k*prod(n/(2*n - 1),n,1,k))/prod(2*n - 1,n,1,k)
what makes me wonder about the product in the denominator. Even it's near to counting with fingers I try with figures, first in a loop:
2: r := for n:=1:2 product 2*n/(2*n-1);
results in r := 8/3, what I expected. Alas,
3: let k=>2; ws(1);
returns 8/9. Is it me or is it Reduce?
I am pretty sure this is a bug, you can open a ticket for it.
Yes, it is a bug, I found where the code is wrong. I will continue my answer in your bug report, but it will need a bit of time.
Rainer
Log in to post a comment.
Running Reduce (Free CSL version, revision 5368), 24-Jun-20 ... under Windows7 I enter
and get as result
what makes me wonder about the product in the denominator. Even it's near to counting with fingers I try with figures, first in a loop:
results in r := 8/3, what I expected. Alas,
returns 8/9. Is it me or is it Reduce?
I am pretty sure this is a bug, you can open a ticket for it.
Yes, it is a bug, I found where the code is wrong.
I will continue my answer in your bug report, but it will need a bit of time.
Rainer