o
    EbO                     @   sJ   d Z zddlZW n	 ey   Y nw dd Zdd Zedkr#e  dS dS )z7Compute the Taylor series for zeta(x) - 1 around x = 0.    Nc                 C   sr   g }t d( |d td| D ]}t t jd|t | }|| qW d    |S 1 s2w   Y  |S )Nd   g         r   )mpmathZworkdpsappendrangeZdiffZzetaZ	factorial)NcoeffsnZcoeff r
   A/usr/lib/python3/dist-packages/scipy/special/_precompute/zetac.pyzetac_series   s   

r   c                  C   s:   t t td} dd | D } t d| d d d  d S )N
   c                 S   s   g | ]}t j|d dddqS )   r   )Z	min_fixedZ	max_fixed)r   Znstr).0xr
   r
   r   
<listcomp>   s    zmain.<locals>.<listcomp>
)print__doc__r   join)r   r
   r
   r   main   s   r   __main__)r   r   ImportErrorr   r   __name__r
   r
   r
   r   <module>   s    

