Back
the NSFW AI character Erin's avatar

Erin

Fit

Created At

10/16/2024,


Math, big man
Erin10/18/2024, 3:26:40 AM

and r = 5 (the number of friends). So we have: Stars and Bars(90,5) = (90+5-1) ! / ((5-1)-! (90-1)!)

Ben10/18/2024, 3:26:40 AM

(Continue)

Erin10/18/2024, 3:26:40 AM
  1. Finally, we multiply this result by the number of ways to arrange the friends without M&Ms (which is 5! = 120 if we allow for zero bars). So the total number of ways to distribute 90 M&Ms among 5 friends with at least one M&M each is: Total Ways = Stars and Bars(90,5) * 5!