L iONdZ ddlZdZdZedk(reyy#e$rYwxYw)z7Compute the Taylor series for zeta(x) - 1 around x = 0.Nc>g}tjd5|jdtd|D]N}tjtj d|tj |z }|j|P ddd|S#1swY|SxYw)Ndgr)mpmathworkdpsappendrangediffzeta factorial)Ncoeffsncoeffs e/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/scipy/special/_precompute/zetac.py zetac_seriesrs F  ! dq! !AKK Q263C3CA3FFE MM%  !! M ! Ms A/BBc tttd}|Dcgc]}tj|ddd}}tdj |dddycc}w)N r) min_fixed max_fixed )print__doc__rrnstrjoin)rxs rmainrs] 'N " Fkk!R1:F $))F4R4L !"s A"__main__)rr ImportErrorrr__name__rr%sB=  # zF-  s $$