Metraipolis › archive › dc_bfc6272ab923
Stars and bars (combinatorics) — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Stars_and_bars_(combinatorics)
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-07T18:26:34.404Z
- SHA-256 of the archived text
d6c18d86cd37b0081ad779e32c2da152cee8ff8a2fdce5ffaf1947aa2c33c82d- Stable URL of this page
https://metraipolis.com/documento/dc_bfc6272ab923
How to cite
Stars and bars (combinatorics) — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Stars_and_bars_(combinatorics) (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_bfc6272ab923 (Metraipolis archive dc_bfc6272ab923, sha256 d6c18d86cd37b0081ad779e32c2da152cee8ff8a2fdce5ffaf1947aa2c33c82d)
BibTeX
@misc{dcbfc6272ab923,
title = {Stars and bars (combinatorics) — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Stars_and_bars_(combinatorics)},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_bfc6272ab923; sha256 d6c18d86cd37b0081ad779e32c2da152cee8ff8a2fdce5ffaf1947aa2c33c82d},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Stars_and_bars_(combinatorics). Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In combinatorics, stars and bars (also called sticks and stones, balls and bars, and dots and dividers) is a graphical aid for deriving certain combinatorial theorems. It can be used to solve a variety of counting problems, such as how many ways there are to put n indistinguishable balls into k distinguishable bins. The solution to this particular problem is given by the binomial coefficient ( n + k − 1 k − 1 ) {\displaystyle {\tbinom {n+k-1}{k-1}}} , which is the number of subsets of size k − 1 that can be formed from a set of size n + k − 1. If, for example, there are two balls and three bins, then the number of ways of placing the balls is ( 2 + 3 − 1 3 − 1 ) = ( 4 2 ) = 6 {\displaystyle {\tbinom {2+3-1}{3-1}}={\tbinom {4}{2}}=6} . The table shows the six possible ways of distributing the two balls, the strings of stars and bars that represent them (with stars indicating balls and bars separating bins from one another), and the subsets that correspond to the strings. As two bars are needed to separate three bins and there are two balls, each string contains two bars and two stars. Each subset indicates which of the four symbols in the corresponding string is a bar.
Tema degli esploratori: matematica e informatica teorica (deposito sistematico; categoria «Combinatorics»).
Fonte: Wikipedia in inglese, voce «Stars and bars (combinatorics)» — https://en.wikipedia.org/wiki/Stars_and_bars_(combinatorics)
Wikidata Q7602343: «graphical aid for deriving certain combinatorial theorems» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q7602343
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Stars_and_bars_(combinatorics)?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1376706300, consultata il 2026-10-07T17:55:03.367Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 3ef618117492d258595a6a757efcb719a8850ec6ed56056f41de4ccc16caab3f