How many ways can you distribute 4 identical balls among 4 identical boxes?
This is equal to the number of partitions of the integer 4
They are
4 = 43 + 1 = 42 + 2 = 42 + 1 + 1 = 41 + 1 + 1 + 1 = 4
5 ways
Simply use factorials.
4! = 4*3*2*1
= 12*2*1
=24
So, there are 24 ways to distribute.