In sagemath version 9.1, the code

product(1-q^x, x, 1, N)

returned

-(-1)^N*product(q^x - 1, x, 1, N)

while the correct result ought to be

(-1)^N*product(q^x - 1, x, 1, N)

What went wrong? Where did this sign change come from?

1 | initial version |

In sagemath version 9.1, the code

product(1-q^x, x, 1, N)

returned

-(-1)^N*product(q^x - 1, x, 1, N)

while the correct result ought to be

(-1)^N*product(q^x - 1, x, 1, N)

What went wrong? Where did this sign change come from?

2 | retagged |

In sagemath version 9.1, the code

product(1-q^x, x, 1, N)

returned

-(-1)^N*product(q^x - 1, x, 1, N)

while the correct result ought to be

(-1)^N*product(q^x - 1, x, 1, N)

What went wrong? Where did this sign change come from?

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.