Bell | R Documentation |
Under OEIS A000110, the nth Bell number is
the number of ways to partition a set of n
labeled elements,
where the first 6 entries are 1, 1, 2, 5, 15, 52.
Bell(n, gmp = TRUE)
n |
the number of first |
gmp |
a logical; |
a vector of length n
containing first entries from the sequence.
## generate first 30 Bell numbers and print print(Bell(30))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.