I've been told that stars and bars are a good method to solve certain questions, but the thing is, I've never come across this theorem. can anyone explain what the stars and bars method is with an example? Thank you.
Asked
Active
Viewed 538 times
1
-
1https://en.wikipedia.org/wiki/Stars_and_bars_(combinatorics) – Angina Seng Apr 25 '20 at 02:27
-
1The Wikipedia link is actually quite good. – Brian M. Scott Apr 25 '20 at 02:37
-
Does this answer your question? Number of ways of choosing $m$ objects with replacement from $n$ objects – Feb 19 '23 at 10:32