Ask Your Question
1

Sage symbolic math simplification error

asked 4 years ago

updated 2 years ago

tmonteil gravatar image

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?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 4 years ago

tmonteil gravatar image

This is definitely a bug, thanks for reporting, it is now trac ticket 30520

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 4 years ago

Seen: 295 times

Last updated: Sep 07 '20