Closed
Description
The complex function f(s) = 1/(1 - 2^(-s))
has poles of residue 1/log(2)
at s = 2*k*pi*I/log(2)
for all integers k
.
Currently sage recognize these poles just at s=0
:
sage: f(s).residue(s==0)
1/log(2)
sage: f(s).residue(s==2*pi*I/log(2))
0
In essence, this happens because the series
-method does not recognize the pole. The priority is critical because mathematically wrong output is produced.
Component: symbolics
Author: Benjamin Hackl
Branch/Commit: 68fea61
Reviewer: Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/20084