The number of ways of arranging balls in a line, where the balls have different colours and there are balls of colour , is the multinomial coefficient . Use the Stirling approximation to show that, to exponential accuracy, this is , where and is the entropy in natural units of the distribution .