Counting Problem, Why is this difficult

us3rnotfound

Diamond Member
Jun 7, 2003
5,334
3
81
20 cookies are to be distributed to 10 kids in any way.

In how many ways can the cookies be distributed?

I know it's probably something simple like 10^20, but can someone offer some sort of explanation as to why? I know the number has to be huge, so it's not something simple like 20ncr10.

Thanks
 

clamum

Lifer
Feb 13, 2003
26,252
403
126
I think it's 20^10? I looked at it like binary, say a 32 bit register can hold 2^32 values. Perhaps I've gone full retard though. o_O
 
Oct 27, 2007
17,009
5
0
40!/10!10! - 40!/9!11!

Edit - this is wrong, but on the right track. Give me a few minutes.
 
Last edited:

us3rnotfound

Diamond Member
Jun 7, 2003
5,334
3
81
No, one sample point could be:
1 17
2 0
3 0
4 0
5 3
6 0
7 0
8 0
9 0
10 0

1 is a fatass and 5 is just a dick.
 

her209

No Lifer
Oct 11, 2000
56,336
11
0
Do all cookies have to be distributed? In other words, can you have cookies left over?
 

BoberFett

Lifer
Oct 9, 1999
37,562
9
81
You give one cookie to any of the 10.

10 possible outcomes

You then give one more cookie to any of 10.

10 x 10 possible outcomes

Repeat this 18 more times.

10^20
 
Last edited:

Anubis

No Lifer
Aug 31, 2001
78,712
427
126
tbqhwy.com
wallpaper-513209.jpg
 
Oct 27, 2007
17,009
5
0
No, one sample point could be:
1 17
2 0
3 0
4 0
5 3
6 0
7 0
8 0
9 0
10 0

1 is a fatass and 5 is just a dick.
You should have been more clear up front, I wasted time assuming that the problem would actually be challenging (ie, that every kid needs at least one cookie).
 
Oct 27, 2007
17,009
5
0
Apparently the cookies are distinguishable.

My gut tells me that it's:

(20 choose 2)x(18 choose 2)x...x(2 choose 2). Is this on the right track? Dr. Pizza hello?
FFS man ask the questions properly up front. If you want us to do your homework then just copy the questions verbatim.
 

TuxDave

Lifer
Oct 8, 2002
10,571
3
71
If cookies are distinguishable and not every kid needs a cookie, then it's 10^20

Each cookie has to be assigned to a kid. That's 10 different possibilities that the cookie could go to. There's 20 cookies, 10^20.

QED.

Edit Oh.. there's a 2nd part.. one sec

Apparently the cookies are distinguishable.

My gut tells me that it's:

(20 choose 2)x(18 choose 2)x...x(2 choose 2). Is this on the right track? Dr. Pizza hello?

That looks right to me.
 
Last edited:

xSauronx

Lifer
Jul 14, 2000
19,582
4
81
if johncu was here i bet hed know...hes a math nerd, hes not even on aim to ask him though
 

DrPizza

Administrator Elite Member Goat Whisperer
Mar 5, 2001
49,601
167
111
www.slatebrookfarm.com
Simple to think about this way. Each cookie is distributed independently.

How many ways are there to distribute just one cookie among 10 kids, assuming you're not going to break the cookie into halves, or quarters, or crumbs, etc., which leads to an incredibly high number of ways, although not infinite as some people might claim. The reason for there not to be an infinite number of possible distributions is that you can only divide a cookie into a finite number of pieces. Even if you divide it into its constituent atoms, that's still a finite number.

Anyway, there are 10 ways to distribute 1 cookie.

How many ways are there to distribute another cookie? 10 ways.

Since they're independent of each other, you can use the counting principle: 10 *10 ways to distribute 2 cookies.

Likewise, 10 * 10 * 10 * . . . * 10 i.e. 10^20
OP is correct, this is the explanation.
 

DrPizza

Administrator Elite Member Goat Whisperer
Mar 5, 2001
49,601
167
111
www.slatebrookfarm.com
Apparently the cookies are distinguishable.

My gut tells me that it's:

(20 choose 2)x(18 choose 2)x...x(2 choose 2). Is this on the right track? Dr. Pizza hello?

Hello, *now* I read through the thread. Yep, correct again.

edit: and finishing reading through the thread, TuxDave has already confirmed as well. I'm too slow tonight. Back to the gallons of tomato sauce on the stove...
 

her209

No Lifer
Oct 11, 2000
56,336
11
0
Simple to think about this way. Each cookie is distributed independently.

How many ways are there to distribute just one cookie among 10 kids, assuming you're not going to break the cookie into halves, or quarters, or crumbs, etc., which leads to an incredibly high number of ways, although not infinite as some people might claim. The reason for there not to be an infinite number of possible distributions is that you can only divide a cookie into a finite number of pieces. Even if you divide it into its constituent atoms, that's still a finite number.

Anyway, there are 10 ways to distribute 1 cookie.

How many ways are there to distribute another cookie? 10 ways.

Since they're independent of each other, you can use the counting principle: 10 *10 ways to distribute 2 cookies.

Likewise, 10 * 10 * 10 * . . . * 10 i.e. 10^20
OP is correct, this is the explanation.
Nice!
 

aloser

Senior member
Nov 20, 2004
511
1
81
"One for you, one for me; two for you, one, two for me; three for you, one, two, three for me..."