look at this approach: a1+a2+a3+a4+a5+a6+a7=23 now it means there are 23 choclates and 6 partitions(+ symbol) and arrange these 23+6=29 items so it is 29! now 23 choclates are identical so divide by 23!
so number of ways=29! / 23 ! -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.