Bell {Zseq} | R Documentation |
Bell numbers
Description
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.
Usage
Bell(n, gmp = TRUE)
Arguments
n |
the number of first |
gmp |
a logical; |
Value
a vector of length n
containing first entries from the sequence.
Examples
## generate first 30 Bell numbers and print
print(Bell(30))
[Package Zseq version 0.2.1 Index]