chickadee » math » bernoulli-number

bernoulli-number nprocedure
n
integer

Returns the nth Bernoulli number; n must be nonnegative.

> (map bernoulli-number (iota 9))
(1 -1/2 1/6 0 -1/30 0 1/42 0 -1/30)

Note that these are the first Bernoulli numbers, since (bernoulli-number 1) = -1/2.

Wikipedia: Bernoulli Number