I try to calculate f[z_] := Coth[z]/( E^z - 1)^1
and calculate
Reduce[(f[z])^-1 == 0, z, GeneratedParameters -> (k &)] // FullSimplify
and gives
k \[Element] Integers && (z == 2 I k \[Pi] || z == I k \[Pi])
now i try to pass the poles to the residue to calculate
Table[Residue[f[z],{z,k1}],{k1,{2I \[Pi] k,-I \[Pi] k,-2I \[Pi] k,I \[Pi] k}}]
it is possible to backsustitution in the table above automatically thanks anyway