scipy.special.bernoulli

scipy.special.bernoulli(n)[source]

Return an array of the Bernoulli numbers B0..Bn