residue theory, closed form, network reliability, discrete distributions