Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

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)=−130\displaystyle \operatorname{bernoulli\_b}(4) = -\frac{1}{30}
    bernoulli_b(4)

    In the solver, bernoulli_b(4) gives -1/30.

    Open in the solver
  • 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.