bellNumbers
bellNumbers(n)
The Bell Numbers count the number of partitions of a set. A partition is a pairwise disjoint subset of S whose union is S. `bellNumbers` only takes integer arguments. The following condition must be enforced: n >= 0.
Try it yourself:
$1 | bellNumbers(3)
| |
$2 | bellNumbers(8)
|