Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

bell_b function

The n-th Bell number: how many ways to split n items into groups.

How to write it

bell_b(n)

n
A whole number. Takes a whole number.

Examples

  • bell_b⁡(4)=15\displaystyle \operatorname{bell\_b}(4) = 15
    bell_b(4)

    In the solver, bell_b(4) gives 15.

    Open in the solver
  • bernoulli_b

    The n-th Bernoulli number.

  • totient

    Euler's totient: how many whole numbers up to n are coprime to n.

  • carmichael_lambda

    Carmichael function: the least power that takes every number coprime to n to 1 modulo n.

  • subfactorial

    Subfactorial: how many ways to reorder n items so none stays in place.

  • catalan_number

    The n-th Catalan number.

  • stirling_s2

    Stirling number of the second kind: the ways to split n items into k groups.