actually I got confused as for e.g: Distribute 7 balls to 3 children : so it should be 3^7 rit? and if the balls are identical x1+x2+x3=7 as then many combinations would be repeating if we use 3^7 am I right @Debapaul??