dn(z,k)=π2K+2πKn=1qncos(2nζ)1+q2n.