Content deleted Content added
Fixed typo. Was 'represetations', now 'representations'. |
m convert special characters found by Wikipedia:Typo Team/moss (via WP:JWB) |
||
Line 9:
! Bin 1 !! Bin 2 !! Bin 3 !! String !! Subset of {1,2,3,4}
|-
| 2 || 0 || 0 || ★ ★
|-
| 1 || 1 || 0 || ★
|-
| 1 || 0 || 1 || ★
|-
| 0 || 2 || 0 ||
|-
| 0 || 1 || 1 ||
|-
| 0 || 0 || 2 ||
|}
Line 42:
where the [[Multiset#Counting multisets|multiset coefficient]] <math>\left(\!\!\binom{k}{n}\!\!\right)</math> is the number of multisets of size {{mvar|n}}, with elements taken from a set of size {{mvar|k}}.
This corresponds to [[Composition (combinatorics)|weak compositions]] of an integer. With {{mvar|k}} fixed, the numbers for {{math|''n'' {{=}} 0, 1, 2, 3,
==Proofs via the method of stars and bars==
Line 66:
|align=center
|content=
{{nowrap|{{huge|★ ★ ★ ★
|caption=Fig. 2: These two bars give rise to three bins containing 4, 1, and 2 objects
}}
Line 86:
|align=center
|content=
{{nowrap|{{huge|★ ★ ★ ★
|caption=Fig. 3: These four bars give rise to five bins containing 4, 0, 1, 2, and 0 objects
}}
|