Wilang Documentation1.0.0+4

bernoulli#

The nth Bernoulli number

Available in: math cells, REPL.

Syntax#

bernoulli(n)

Arguments and behavior#

Computes Bernoulli numbers, not a Bernoulli distribution object. Pass a nonnegative integer index.

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
bernoulli(4)

Expected result: -0.033333333333333.

See also#

combinations · gamma · stirlingS2

All functions · Math guides