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)Interactive examples could not load. You can still copy the expressions.
Expected result: -0.033333333333333.