x1+x2+x3+x4+x5+x6+x7=23,,,
noe no of solution is,,, of equation is,,
n+r-1C(COMBINATION )r-1 (n identical items to be distributed into R grups)
so ,, ans 23+7-1c7-1;(identical)
if unidentical case,,,,,
then each each cholate wud hav 7 options,,
so ,, ans -- 7^23 (different)

On Tue, Jun 22, 2010 at 8:22 PM, Aarthi Thangamani <
aarthi.thangam...@gmail.com> wrote:

> Given 23 chocolates and there are 7 kids. How many ways are there to spilt
> the chocolates among the 7 kids? All of the chocolates must be distributed
> and it can happen that some kids do not get any.
>
> For example: first kid gets 23 chocolates and rest get none is one
> possibility. First 6 kids get one each and the 7th kid gets 17 chocolates is
> another possibility. How many such ways are there to distribute?
>
>
>
> --
> 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<algogeeks%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
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.

Reply via email to