You are not logged in.
Hi,
Here's a python script.
cnt = 0
cnt10 = 0
for a in (1,2,4,8,16):
for b in (1,2,4,8,16):
for c in (1,2,4,8,16):
for d in (1,2,4,8,16):
for e in (1,2,4,8,16):
if a<=b and b<=c and c<=d and d<=e:
cnt += 1
print a,b,c,d,e
if a+b+c+d+e == 10:
cnt10 += 1
print cnt,cnt10
Correct, isn't it?
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Hi gAr;
I believe so. I am now getting 126 also. I do not where the error came from. That clears up one problem, thanks!
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi bobbym,
Okay, nice to hear that!
Is 126 the answer then?
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Yes! Also there seems to be a simple combinatorial answer!
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Cool!
there seems to be a simple combinatorial answer!
Number of terms in the expansion of (a+b+c+d+e)^5 ?
But I'm still a little confused.
Instead, if B had got (2,2,2,2,2) twice or (4,2,2,1,1) twice, will it still be the same answer?
Are the events of getting (2,2,2,2,2) and getting (4,2,2,1,1) equiprobable?
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Hi;
Those are equiprobable. Each of the 5 areas that he can hit all are equiprobable. Each one has a point value associated with it. So with one dart scoring 2 is just as likely as scoring 1. So with 5 darts 1,1,1,1,1 is as likely as 2,2,2,2,2 or 4,2,2,1,1.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi,
Okay, thanks.
If B had got only one game with a score of 10 (say 2,2,2,2,2), can we still estimate the number of games?
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Hi gAr;
The equiprobable aspect of the question was only brought in to state that there was no bias. The problem could have phrased in a way that removed any mention of a probability but I wanted to save that for later. When I knew a little more.
Anyways the number of games is:
As long as areas to hit equals darts. In this case.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi bobbym,
Okay. Thanks for the formula!
So they are the number of coefficients in the expansion of multinomial, like I doubted in #732.
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Hi gAr;
I am not following you there. The largest coefficient is 120 in that expansion. I am not sure how to get 126 out of it.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Hi gAr;
It will not work for 6 darts and 6 areas.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi,
I got it correct.
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Hi gAr;
I am getting
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi bobbym,
You didn't include the 6th point value, did you??
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
I used the same areas but just 6 darts. That is no good?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
You told it wouldn't work for 6 darts and 6 areas.
Did you mean 6 darts and 5 areas?
For that I'm getting same as yours.
n is the number of darts
m is the number of areas.
Did you also assume the same way?
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Hi gAr;
The confusion is because the problem is stated in a way that is the same but is difficult to follow. Give me a second and I will phrase it more accurately.
The real question:
If I have the multiset
{1,1,1,1,1,2,2,2,2,2,4,4,4,4,4,8,8,8,8,8,16,16,16,16,16}
Using 5 of them how many restricted partitions ( order does not count ) can I form?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Yes, our answers match.
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Hi gAr;
Yes, the new problem is;
{1,1,1,1,1,1,2,2,2,2,2,2,4,4,4,4,4,4,8,8,8,8,8,8,16,16,16,16,16,16}
The area really means 5 different types of numbers {1,2,4,8,16}. The 5 types stay the same, the number of them goes up.
Same as yours.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi,
Okay, so you thought of multisets, and I thought of multinomials. Nice!
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
Hi gAr;
When I worked on this for someone else he used pegs on a board. I saw the connection with the restricted partition problem. Not much has been done on them. Everybody knows about partition numbers but when the set is finite then not so much is known.
This is the first improvement I have seen on this type in a while.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi bobbym,
Okay.
I haven't given multisets much thought.
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline
I have played with them a little. It is harder to find answers to particular ones rather than all of them. The generating function is harder.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Yeah, I'm still trying for a g.f.
"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense" - Buddha?
"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."
Offline