Bernoulli numbers and polynomials (bernoulli_b)
The n-th Bernoulli number.
How to write it
bernoulli_b(n)
- n
- A whole number. Takes a whole number.
Examples
bernoulli_b(4)In the solver,
Open in the solverbernoulli_b(4)gives-1/30.
Related functions
- carmichael_lambda
Carmichael function: the least power that takes every number coprime to n to 1 modulo n.
- bell_b
The n-th Bell number: how many ways to split n items into groups.
- catalan_number
The n-th Catalan number.
- totient
Euler's totient: how many whole numbers up to n are coprime to n.
- chinese_remainder
The number that leaves given remainders on division by given moduli.
- subfactorial
Subfactorial: how many ways to reorder n items so none stays in place.