[back] [prev] [next] [index] [root]
Bernoulli
Returns a list of Bernoulli numbers.
Syntax:
bern := Bernoulli(n);
See also: BernoulliMagma
Description:
Given an integer n, the list of the rational Bernoulli numbers
0,1,2,4,6,...,2n-2 is returned. For small n BernoulliMagma is
much faster, but not exact and for n >= 130 not computable.
Example:
kash> bern := Bernoulli(6);
> [ 1/1, -1/2, 1/6, -1/30, 1/42, -1/30 ]
<- back[back] [prev] [next] [index] [root]