2021-05-23 21:29:29 +0200 | received badge | ● Supporter (source) |
2021-05-22 18:17:21 +0200 | marked best answer | Incorrect symbolic sum w/binomial coefficients This should give (t+1)^(n-1), but instead it gives 0: A version w/o -1's works correctly: With -2's, it's left unevaluated: However, Mathematica and Maple can do problems like this. E.g., in Mathematica, With positive offsets instead of negative offsets, it works correctly: The result is correct, although it could be simplified better: (t + 1)^(n + 2) Version: 'SageMath version 9.2, Release Date: 2020-10-24' I also get the same results on http://sagecell.sagemath.org |
2021-05-22 18:17:21 +0200 | received badge | ● Scholar (source) |
2021-05-22 00:28:31 +0200 | received badge | ● Nice Answer (source) |
2021-05-21 23:32:06 +0200 | received badge | ● Teacher (source) |
2021-05-21 23:20:59 +0200 | answered a question | How to make a hexadecimal number into a string For a Sage integer (vs. python int), s.hex() gives just the hex digits, without the prefix '0x': sage: s=123456 |
2021-05-20 23:51:34 +0200 | received badge | ● Student (source) |
2021-05-20 23:41:32 +0200 | asked a question | Incorrect symbolic sum w/binomial coefficients Incorrect symbolic sum w/binomial coefficients This should give (t+1)^(n-1), but instead it gives 0: sage: var('n k t') |