gusl: (Default)
[personal profile] gusl
Sometimes I love Wikipedia: http://en.wikipedia.org/wiki/Partition_(set_theory)#Counting_partitions


Counting partitions

The total number of partitions of an n-element set is the Bell number Bn. The first several Bell numbers are B0 = 1, B1 = 1, B2 = 2, B3 = 5, B4 = 15, B5 = 52, and B6 = 203. Bell numbers satisfy the recursion B_{n+1}=\sum_{k=0}^n {n\choose k}B_k
and have the exponential generating function
\sum_{n=0}^\infty\frac{B_n}{n!}z^n=e^{e^z-1}.
The number of partitions of an n-element set into exactly k parts is the Stirling number of the second kind S(n, k).
The number of noncrossing partitions of an n-element set is the Catalan number Cn, given by
C_n={1 \over n+1}{2n \choose n}.



See also: Partition (number theory)


---
Also, LJ's HTML mode is very convenient for copy-pasting. Even the images came through automatically.

(no subject)

Date: 2010-01-12 04:05 am (UTC)
From: [identity profile] bhudson.livejournal.com
At some point last year I wondered "how bad can it be to just brute for this?" That's when I learned about the Bell numbers.

February 2020

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags