Mathematically, we have 4(−1)k=18(17+15(−1)k) for all integers k. However, this identity is not being used for the computation of ∑∞k=04(−1)kxk:
sage: sum(4^((-1)^k)*x^k, k, 0, oo)._giac_().normal().sage()
sum(4^((-1)^k)*x^k, k, 0, +Infinity)
However:
sage: sum(1/8*(17+15*(-1)^k)*x^k, k, 0, oo)._giac_().normal().sage()
-1/4*(x + 16)/(x^2 - 1)
Is there a way to implement this process so that Sage can handle such expressions?