Close
Close window
bell - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

combinat

bell

compute Bell numbers

Calling Sequence

bell(n)

Parameters

n

-

expression

Description

The procedure bell computes the nth 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:

ⅇⅇx1=n=0bellnxnn!

The Bell numbers are computed using the umbral definition :

belln+1=bell+1n

where bell()^n represents bell(n).

For example:

bell3=bell2+2bell1+1

bell4=bell3+3 bell2+3 bell1+1

belln+1=i=0nnibelli

if 0<n

The nth Bell number has several interesting interpretations, including

the number of rhyming schemes in a stanza of n lines

the number of ways n unlike objects can be placed in n like boxes

the number of ways a product of n distinct primes may be factored

The command with(combinat,bell) allows the use of the abbreviated form of this command.

Examples

>

withcombinat&comma;bell

bell

(1)
>

bell1

1

(2)
>

bell4

15

(3)
>

bell1

1

(4)
>

belln

belln

(5)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /