combinat[bell] - compute Bell numbers
|
Description
|
|
•
|
The procedure bell computes the th Bell number if the argument n is an integer; otherwise, it returns the unevaluated function call. For the BellB polynomials see BellB.
|
•
|
The Bell numbers are defined by the exponential generating function:
|
•
|
The Bell numbers are computed using the umbral definition :
|
|
where bell()^n represents bell(n).
|
if
•
|
The th Bell number has several interesting interpretations, including
|
the number of rhyming schemes in a stanza of lines
|
the number of ways n unlike objects can be placed in like boxes
|
the number of ways a product of distinct primes may be factored
|
|
|
•
|
The command with(combinat,bell) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?