Stars and Bars

Level 7●●●○○ Medium~5 min

Problem

How many ways can you distribute nn identical balls into kk distinct boxes (boxes may be empty)? And how many if every box must get at least one ball?