[back] [prev] [next] [index] [root]

 


BernoulliMagma

Returns a list of Bernoulli numbers.

Syntax:

bern := BernoulliMagma(n);

integer
  n  
list
  bern  

See also:  Bernoulli

Description:

Given an integer n, the list of Bernoulli numbers 2,...,2n is returned. For n >= 130 this function does not work, see Bernoulli instead.


Example:


kash> bern := BernoulliMagma(6);
> [ 0.166666666666666657414808128123695496469736099243164, 
  -0.0333333333333333328707404064061847748234868049621582, 
  0.0238095238095238082021154468748136423528194427490234, 
  -0.0333333333333333328707404064061847748234868049621582, 
  0.0757575757575757596784526981537055689841508865356445, 
  -0.25311355311355310249155081692151725292205810546875 ]


<- back[back] [prev] [next] [index] [root]