import mpmath from mpmath import zeta from mpmath import gamma

import mpmath from mpmath import zeta from mpmath import gamma from mpmath import pi def xi(s): return 0.5*s*(s-1)*(pi**(((-1)*s)/2.0))*gamma(s/2.0)*zeta(s).
11KB taille 2 téléchargements 374 vues
import mpmath from mpmath import zeta from mpmath import gamma from mpmath import pi def xi(s): return 0.5*s*(s-1)*(pi**(((-1)*s)/2.0))*gamma(s/2.0)*zeta(s) mpmath.dps = 15; mpmath.pretty = True for k in range(1, 6): print("%s %s" % (k, gamma(k))) for x in range(2,10001): print(x) print(xi(float(x)))