Share to: share facebook share twitter share wa share telegram print page

Stirling numbers of the second kind

The 15 partitions of a 4-element set ordered in a Hasse diagram
There are S(4,1), ..., S(4, 4) = 1, 7, 6, 1 partitions containing 1, 2, 3, 4 sets.

In mathematics, particularly in combinatorics, a Stirling number of the second kind (or Stirling partition number) is the number of ways to partition a set of n objects into k non-empty subsets and is denoted by or .[1] Stirling numbers of the second kind occur in the field of mathematics called combinatorics and the study of partitions. They are named after James Stirling.

The Stirling numbers of the first and second kind can be understood as inverses of one another when viewed as triangular matrices. This article is devoted to specifics of Stirling numbers of the second kind. Identities linking the two kinds appear in the article on Stirling numbers.

Definition

The Stirling numbers of the second kind, written or or with other notations, count the number of ways to partition a set of labelled objects into nonempty unlabelled subsets. Equivalently, they count the number of different equivalence relations with precisely equivalence classes that can be defined on an element set. In fact, there is a bijection between the set of partitions and the set of equivalence relations on a given set. Obviously,

for n ≥ 0, and for n ≥ 1,

as the only way to partition an n-element set into n parts is to put each element of the set into its own part, and the only way to partition a nonempty set into one part is to put all of the elements in the same part. Unlike Stirling numbers of the first kind, they can be calculated using a one-sum formula:[2]

The Stirling numbers of the first kind may be characterized as the numbers that arise when one expresses powers of an indeterminate x in terms of the falling factorials[3]

(In particular, (x)0 = 1 because it is an empty product.)

Stirling numbers of the second kind satisfy the relation

Notation

Various notations have been used for Stirling numbers of the second kind. The brace notation was used by Imanuel Marx and Antonio Salmeri in 1962 for variants of these numbers.[4][5] This led Knuth to use it, as shown here, in the first volume of The Art of Computer Programming (1968).[6][7] According to the third edition of The Art of Computer Programming, this notation was also used earlier by Jovan Karamata in 1935.[8][9] The notation S(n, k) was used by Richard Stanley in his book Enumerative Combinatorics and also, much earlier, by many other writers.[6]

The notations used on this page for Stirling numbers are not universal, and may conflict with notations in other sources.

Relation to Bell numbers

Since the Stirling number counts set partitions of an n-element set into k parts, the sum

over all values of k is the total number of partitions of a set with n members. This number is known as the nth Bell number.

Analogously, the ordered Bell numbers can be computed from the Stirling numbers of the second kind via

[10]

Table of values

Below is a triangular array of values for the Stirling numbers of the second kind (sequence A008277 in the OEIS):

k
n
0 1 2 3 4 5 6 7 8 9 10
0 1
1 0 1
2 0 1 1
3 0 1 3 1
4 0 1 7 6 1
5 0 1 15 25 10 1
6 0 1 31 90 65 15 1
7 0 1 63 301 350 140 21 1
8 0 1 127 966 1701 1050 266 28 1
9 0 1 255 3025 7770 6951 2646 462 36 1
10 0 1 511 9330 34105 42525 22827 5880 750 45 1

As with the binomial coefficients, this table could be extended to k > n, but the entries would all be 0.

Properties

Recurrence relation

Stirling numbers of the second kind obey the recurrence relation

with initial conditions

For instance, the number 25 in column k = 3 and row n = 5 is given by 25 = 7 + (3×6), where 7 is the number above and to the left of 25, 6 is the number above 25 and 3 is the column containing the 6.

To prove this recurrence, observe that a partition of the objects into k nonempty subsets either contains the -th object as a singleton or it does not. The number of ways that the singleton is one of the subsets is given by

since we must partition the remaining n objects into the available subsets. In the other case the -th object belongs to a subset containing other objects. The number of ways is given by

since we partition all objects other than the -th into k subsets, and then we are left with k choices for inserting object . Summing these two values gives the desired result.

Another recurrence relation is given by

which follows from evaluating at .

Simple identities

Some simple identities include

This is because dividing n elements into n − 1 sets necessarily means dividing it into one set of size 2 and n − 2 sets of size 1. Therefore we need only pick those two elements;

and

To see this, first note that there are 2n ordered pairs of complementary subsets A and B. In one case, A is empty, and in another B is empty, so 2n − 2 ordered pairs of subsets remain. Finally, since we want unordered pairs rather than ordered pairs we divide this last number by 2, giving the result above.

Another explicit expansion of the recurrence-relation gives identities in the spirit of the above example.

Identities

The table in section 6.1 of Concrete Mathematics provides a plethora of generalized forms of finite sums involving the Stirling numbers. Several particular finite sums relevant to this article include

Explicit formula

The Stirling numbers of the second kind are given by the explicit formula:

This can be derived by using inclusion-exclusion to count the surjections from n to k and using the fact that the number of such surjections is .

Additionally, this formula is a special case of the kth forward difference of the monomial evaluated at x = 0:

Because the Bernoulli polynomials may be written in terms of these forward differences, one immediately obtains a relation in the Bernoulli numbers:

The evaluation of incomplete exponential Bell polynomial Bn,k(x1,x2,...) on the sequence of ones equals a Stirling number of the second kind:

Another explicit formula given in the NIST Handbook of Mathematical Functions is

Parity

Parity of Stirling numbers of the second kind.

The parity of a Stirling number of the second kind is same as the parity of a related binomial coefficient:

where

This relation is specified by mapping n and k coordinates onto the Sierpiński triangle.

More directly, let two sets contain positions of 1's in binary representations of results of respective expressions:

One can mimic a bitwise AND operation by intersecting these two sets:

to obtain the parity of a Stirling number of the second kind in O(1) time. In pseudocode:

where is the Iverson bracket.

The parity of a central Stirling number of the second kind is odd if and only if is a fibbinary number, a number whose binary representation has no two consecutive 1s.[11]

Generating functions

For a fixed integer n, the ordinary generating function for Stirling numbers of the second kind is given by

where are Touchard polynomials. If one sums the Stirling numbers against the falling factorial instead, one can show the following identities, among others:

and

which has special case

For a fixed integer k, the Stirling numbers of the second kind have rational ordinary generating function

and have an exponential generating function given by

A mixed bivariate generating function for the Stirling numbers of the second kind is

Lower and upper bounds

If and , then

[12]

Asymptotic approximation

For fixed value of the asymptotic value of the Stirling numbers of the second kind as is given by

If (where o denotes the little o notation) then

[13]

A uniformly valid approximation also exists: for all k such that 1 < k < n, one has

where , and is the unique solution to .[14] Relative error is bounded by about .

Unimodality

For fixed , is unimodal, that is, the sequence increases and then decreases. The maximum is attained for at most two consecutive values of k. That is, there is an integer such that

Looking at the table of values above, the first few values for are

When is large

and the maximum value of the Stirling number can be approximated with

[12]

Applications

Moments of the Poisson distribution

If X is a random variable with a Poisson distribution with expected value λ, then its n-th moment is

In particular, the nth moment of the Poisson distribution with expected value 1 is precisely the number of partitions of a set of size n, i.e., it is the nth Bell number (this fact is Dobiński's formula).

Moments of fixed points of random permutations

Let the random variable X be the number of fixed points of a uniformly distributed random permutation of a finite set of size m. Then the nth moment of X is

Note: The upper bound of summation is m, not n.

In other words, the nth moment of this probability distribution is the number of partitions of a set of size n into no more than m parts. This is proved in the article on random permutation statistics, although the notation is a bit different.

Rhyming schemes

The Stirling numbers of the second kind can represent the total number of rhyme schemes for a poem of n lines. gives the number of possible rhyming schemes for n lines using k unique rhyming syllables. As an example, for a poem of 3 lines, there is 1 rhyme scheme using just one rhyme (aaa), 3 rhyme schemes using two rhymes (aab, aba, abb), and 1 rhyme scheme using three rhymes (abc).

Variants

r-Stirling numbers of the second kind

The r-Stirling number of the second kind counts the number of partitions of a set of n objects into k non-empty disjoint subsets, such that the first r elements are in distinct subsets.[15] These numbers satisfy the recurrence relation

Some combinatorial identities and a connection between these numbers and context-free grammars can be found in [16]

Associated Stirling numbers of the second kind

An r-associated Stirling number of the second kind is the number of ways to partition a set of n objects into k subsets, with each subset containing at least r elements.[17] It is denoted by and obeys the recurrence relation

The 2-associated numbers (sequence A008299 in the OEIS) appear elsewhere as "Ward numbers" and as the magnitudes of the coefficients of Mahler polynomials.

Reduced Stirling numbers of the second kind

Denote the n objects to partition by the integers 1, 2, ..., n. Define the reduced Stirling numbers of the second kind, denoted , to be the number of ways to partition the integers 1, 2, ..., n into k nonempty subsets such that all elements in each subset have pairwise distance at least d. That is, for any integers i and j in a given subset, it is required that . It has been shown that these numbers satisfy

(hence the name "reduced").[18] Observe (both by definition and by the reduction formula), that , the familiar Stirling numbers of the second kind.

See also

References

  1. ^ Ronald L. Graham, Donald E. Knuth, Oren Patashnik (1988) Concrete Mathematics, Addison–Wesley, Reading MA. ISBN 0-201-14236-8, p. 244.
  2. ^ "Stirling Numbers of the Second Kind, Theorem 3.4.1".
  3. ^ Confusingly, the notation that combinatorialists use for falling factorials coincides with the notation used in special functions for rising factorials; see Pochhammer symbol.
  4. ^ Transformation of Series by a Variant of Stirling's Numbers, Imanuel Marx, The American Mathematical Monthly 69, #6 (June–July 1962), pp. 530–532, JSTOR 2311194.
  5. ^ Antonio Salmeri, Introduzione alla teoria dei coefficienti fattoriali, Giornale di Matematiche di Battaglini 90 (1962), pp. 44–54.
  6. ^ a b Knuth, D.E. (1992), "Two notes on notation", Amer. Math. Monthly, 99 (5): 403–422, arXiv:math/9205211, Bibcode:1992math......5211K, doi:10.2307/2325085, JSTOR 2325085, S2CID 119584305
  7. ^ Donald E. Knuth, Fundamental Algorithms, Reading, Mass.: Addison–Wesley, 1968.
  8. ^ p. 66, Donald E. Knuth, Fundamental Algorithms, 3rd ed., Reading, Mass.: Addison–Wesley, 1997.
  9. ^ Jovan Karamata, Théorèmes sur la sommabilité exponentielle et d'autres sommabilités s'y rattachant, Mathematica (Cluj) 9 (1935), pp, 164–178.
  10. ^ Sprugnoli, Renzo (1994), "Riordan arrays and combinatorial sums" (PDF), Discrete Mathematics, 132 (1–3): 267–290, doi:10.1016/0012-365X(92)00570-H, MR 1297386
  11. ^ Chan, O-Yeat; Manna, Dante (2010), "Congruences for Stirling numbers of the second kind" (PDF), Gems in Experimental Mathematics, Contemporary Mathematics, vol. 517, Providence, Rhode Island: American Mathematical Society, pp. 97–111, doi:10.1090/conm/517/10135, MR 2731094
  12. ^ a b Rennie, B.C.; Dobson, A.J. (1969). "On stirling numbers of the second kind". Journal of Combinatorial Theory. 7 (2): 116–121. doi:10.1016/S0021-9800(69)80045-1. ISSN 0021-9800.
  13. ^ L. C. Hsu, Note on an Asymptotic Expansion of the nth Difference of Zero, AMS Vol.19 NO.2 1948, pp. 273--277
  14. ^ N. M. Temme, Asymptotic Estimates of Stirling Numbers, STUDIES IN APPLIED MATHEMATICS 89:233-243 (1993), Elsevier Science Publishing.
  15. ^ Broder, A. (1984). The r-Stirling numbers. Discrete Mathematics 49, 241-259
  16. ^ Triana, J. (2022). r-Stirling numbers of the second kind through context-free grammars. Journal of automata, languages and combinatorics 27(4), 323-333
  17. ^ L. Comtet, Advanced Combinatorics, Reidel, 1974, p. 222.
  18. ^ A. Mohr and T.D. Porter, Applications of Chromatic Polynomials Involving Stirling Numbers, Journal of Combinatorial Mathematics and Combinatorial Computing 70 (2009), 57–64.

Read other articles:

Indonesian hot and sweet beverage This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Bajigur – news · newspapers · books · scholar · JSTOR (January 2023) (Learn how and when to remove this template message) BajigurBajigur with bits of bread, palm sugar and young coconutCourseBeveragePlace of originIndonesiaRegi...

 

Con cáo và tổ ong[1] là một bài thơ cổ động cách mạng của Nguyễn Ái Quốc đăng trên báo Việt Nam độc lập, số 130 ra ngày 1 tháng 7 năm 1942. Nội dung Bài thơ gồm 14 câu, kể chuyện con cáo định moi tổ ong ăn mật, song bầy ong đã xúm lại đốt túi bụi, con cáo sợ chạy mất Tổ ong lủng lẳng trên cành Trong đầy mật nhộng ngon lành lắm thay. Cáo già nhè nhẹ lên cây Định rằng lấy đư...

 

Vương Tuấn Khải王俊凯Vương Tuấn Khải năm 2023SinhVương Tuấn Khải21 tháng 9 năm 1999 (24 tuổi)Trùng Khánh, Trung QuốcQuốc tịch Trung QuốcTên khácKarry WangDân tộcHánHọc vịTrường Bát Trung, Trùng Khánh (tốt nghiệp năm 2017) Học viện Điện ảnh Bắc Kinh (tốt nghiệp năm 2021)Trường lớpCử nhân (khoa biểu diễn)Nghề nghiệpCa sĩDiễn viên Người mẫuQuê quánTrùng Khánh, Trung QuốcChiều cao1,...

  وحدة العمليات الخاصة الصربية وحدة العمليات الخاصة (صربيا)‌ شعار الوحدة البلد جمهورية يوغوسلافيا الاتحادية  [لغات أخرى]‏  تاريخ التأسيس 1991 (بحُكم الأمر الواقع) تاريخ الحل 1996 (بحُكم القانون) تعديل مصدري - تعديل   وحدة العمليات الخاصة (بالصربية: Јединица за спец

 

The New Janitoradegan dari filmSutradara Charlie Chaplin Produser Mack Sennett Ditulis olehPemeran Charles Chaplin Jess Dandy John T. Dillon Al St. John SinematograferFrank D. WilliamsPerusahaanproduksiKeystone StudiosDistributorMutual FilmTanggal rilis 24 September 1914 (1914-09-24) Durasi16 menitNegara Amerika Serikat BahasaFilm bisu dengan antar judul Inggris Film lengkap The New Janitor adalah film komedi ke-27 dari Keystone Studios yang menampilkan Charlie Chaplin. Film tersebut dia...

 

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (سبتمبر 2018) أيدو أوريول   معلومات شخصية الميلاد 5 نوفمبر 1986 (العمر 37 سنة)كمبريلز  الطول 1.76 م (5 قدم 9 بوصة) مركز اللعب وسط الجنسية إسبانيا  أخوة وأخوات خوان �...

See also: List of villages and settlements in Namibia Map of Namibia Windhoek, Capital of Namibia Walvis Bay Swakopmund Cities and towns in Namibia are distinguished by the status the Government of Namibia has vested in them: Places in Namibia that are governed by a municipality are cities, places with a town council are towns.[1] Cities As of 2015[update] Namibia has thirteen cities, each of them governed by a municipality council that has between 7 and 15 seats. Compared to ...

 

Stasiun Tōge峠駅Samping StasiunLokasiŌsawa Tōge, Yonezawa-shi, Yamagata-ken 992-1303JepangKoordinat37°48′43″N 140°14′09″E / 37.811894°N 140.235853°E / 37.811894; 140.235853Koordinat: 37°48′43″N 140°14′09″E / 37.811894°N 140.235853°E / 37.811894; 140.235853Pengelola JR EastJalur■ Jalur Utama ŌuLetak dari pangkal28.8 km dari FukushimaJumlah peron1 Peron pulauInformasi lainStatusTidak memiliki petugasSitus webSitus w...

 

1956 play by Eugene O'Neill For other uses, see Long Day's Journey into Night (disambiguation). Long Day's Journey into NightFirst edition 1956Written byEugene O'NeillCharactersMary Cavan TyroneJames TyroneEdmund TyroneJames Tyrone Jr.CathleenDate premieredFebruary 2, 1956Place premieredRoyal Dramatic TheatreStockholm, SwedenOriginal languageEnglishSubjectAn autobiographical account of an explosive home life with a morphine-addicted mother and alcoholic father.GenreTragedy[1][2 ...

Лиса гора(пам'ятка природи)Країна  УкраїнаРозташування  УкраїнаРівненська область,Дубенський районНайближче місто ДубноПлоща 4 гаЗасновано 1983 р.Оператор село ПовчаПосилання У Вікіпедії є статті про інші значення цього терміна: Лиса гора. Ли́са гора́ — ботанічн...

 

American television executive (born 1952) Warren LittlefieldLittlefield at the 74th Annual Peabody AwardsBorn (1952-05-11) May 11, 1952 (age 71)Montclair, New Jersey, U.S.OccupationExecutiveYears active1979–present Warren W. Littlefield (born May 11, 1952) is an American television executive. Born in Montclair, New Jersey, Littlefield attended Montclair High School and graduated from Hobart and William Smith Colleges in Geneva, New York, where he was awarded a BA in Psychology. ...

 

Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Lajut, Praya Tengah, Lombok Tengah – berita · surat kabar · buku · cendekiawan · JSTOR LajutDesaNegara IndonesiaProvinsiNusa Tenggara BaratKabupatenLombok TengahKecamatanPraya TengahKode pos83582Kod...

List of characters appearing in the TV series Modern Family Cast of Modern Family at the 69th Golden Globe Awards in 2012 Modern Family is an American TV comedy series revolving around three families interrelated through Jay Pritchett, his son Mitchell Pritchett, and his daughter Claire Dunphy. The families meet for family functions (usually around their three neighborhoods or while traveling during vacations) and cross-family bonding. Main cast Modern Family cast and characters Actor Charact...

 

American alternative rock band House of HeroesHouse of Heroes performing a capella in Akron, Ohio in 2012. Left to right: Eric Newcomer, Colin Rigsby, Tim Skipper, Matt LottBackground informationOriginColumbus, Ohio, U.S.GenresAlternative rock, Christian rockYears active1998–presentLabels Four Door Vanishing Point Mono vs Stereo Gotee BadChristian Members Tim Skipper Colin Rigsby A.J. Babcock Jared Rigsby Eric Newcomer Past members Josh Dun Matt Lott WebsiteHouse of Heroes on Twitter House ...

 

Social-cultural system This article is about a cultural system of behaviors, practices and ethics. For other uses, see Religion (disambiguation). Religious redirects here. For the term describing a type of monk or nun, see Religious (Western Christianity). Not to be confused with Religious denomination. Part of a series onReligion Outline Lists Category Index History Portal Religions Abrahamic Judaism Christianity Islam Baháʼí Faith Mormonism Mandaeism Samaritanism Indic Hinduism Buddhism ...

French footballer (born 1991) Florian Lejeune Lejeune in 2011Personal informationFull name Florian Grégoire Claude Lejeune[1]Date of birth (1991-05-20) 20 May 1991 (age 32)[2]Place of birth Paris, FranceHeight 1.90 m (6 ft 3 in)[2]Position(s) Centre-backTeam informationCurrent team Rayo VallecanoNumber 24Youth career1997–1998 CFF Paris1998–2000 Ternes Paris2000–2005 Racing Levallois2005–2006 Béziers Cheminots2006–2008 Sète2008–2009 Ag...

 

Fußball-BundesligaBadan yang mengaturDeutsche Fußball Liga (DFL)Negara JermanKonfederasiUEFADibentuk1963; 60 tahun lalu (1963)Jumlah tim18Tingkat pada piramida1Degradasi ke2. BundesligaPiala domestikPiala JermanPiala Super JermanPiala internasionalLiga Champions UEFALiga Eropa UEFALiga Konferensi Eropa UEFAJuara bertahan ligaBayern München (gelar ke-33) (2022–2023)Klub tersuksesBayern München (33 gelar)Televisi penyiarantvtvOneSitus webbundesliga.com Bundesliga 2023–2024 Bun...

 

Ghanaian association football player Not to be confused with Pelé or Pedro Pele. The neutrality of this article is disputed. Relevant discussion may be found on the talk page. Please do not remove this message until conditions to do so are met. (December 2018) (Learn how and when to remove this template message) Abedi Ayew Pele Abedi Pele in 2007Personal informationFull name Abedi AyewDate of birth (1964-11-05) 5 November 1964 (age 59)Place of birth Kibi, Eastern Region, GhanaHeight 1.7...

CasamarcianoKomuneComune di CasamarcianoLokasi Casamarciano di Provinsi NapoliNegara ItaliaWilayah CampaniaProvinsiNapoli (NA)Luas[1] • Total6,38 km2 (2,46 sq mi)Ketinggian[2]70 m (230 ft)Populasi (2016)[3] • Total3.272 • Kepadatan510/km2 (1,300/sq mi)Zona waktuUTC+1 (CET) • Musim panas (DST)UTC+2 (CEST)Kode pos80032Kode area telepon081Situs webhttp://www.comune.casamarciano.na.it C...

 

City in Xorazm Region, western Uzbekistan Xiva redirects here. For the Spanish town, see Chiva, Valencia. For other uses, see Khiva (disambiguation). Not to be confused with KHive. Place in Khorazm Region, UzbekistanKhiva Xiva / ХиваClockwise from top:Itchan Kala, Alla Kouli Khan Madrasa, Pakhlavan Makhmoud Mausoleum, Islam Hoja Minaret, Muhammad Amin Khan Madrasa and Kalta MinorKhivaLocation in UzbekistanShow map of West and Central AsiaKhivaKhiva (Uzbekistan)Show map of UzbekistanCoordi...

 
Kembali kehalaman sebelumnya