I know this has been asked before, but most existing answers have been in the form of summations instead of framing this as a stars and bars problem as taught in class.
We were given that the answer is ($n-1$ choose $k-1$), as in $n-k$ stars and $k-1$ bars, but I'm having trouble seeing why the former is the case.
[Edit] This is what I have tried so far: I know that we can make each of the positive numbers into k bins, thus there will be k-1 bars when framing it into a stars and bars problem.
However, when it comes to the n-k stars, the only explanation I can think of is subtracting k (the value we first chose) from n to find the remaining value we need to account for, but I don't think this makes sense. Any help on figuring out why it is n-k stars would be appreciated!