Re: HSC 2016 MX2 Combinatorics Marathon
It is the Combinatorics marathon. So this is what I was hoping for.
It is the Combinatorics marathon. So this is what I was hoping for.
Of course, such solutions are often far nicer.It is the Combinatorics marathon. So this is what I was hoping for.
I'm thinking we fix one face and consider the opposite face and the central remaining ring of alternating vertices all individually. This applies to both solids.(1) The faces, edges and vertices of a cube are indistinguishable. In how many unique ways can the vertices be labelled 1 to 8 ?
(2) (I have no answer for this) In how many unique ways can the 20 vertices of a dodecahedron be labelled 1 to 20 ?
(3) (Ditto) Repeat for the 12 vertices of an icosahedron.
This is a derangement.I have a question which I am having difficulty analysing.
n balls are numbered 1, 2, 3, ..., n.
The balls are placed randomly in a straight line, each ball sitting in a position 1, ..., n.
Let P(n, k) be the probability that there are exactly k balls whose number corresponds to its position in the line.
For example if n=3, the possible arrangements are:
1 2 3 [3]
1 3 2 [1]
2 1 3 [1]
2 3 1 [0]
3 1 2 [0]
3 2 1 [1]
The number in square brackets indicates the number of balls sitting in the correct position.
(Those balls are bolded.)
So:
P(3,0) = 2/6
P(3,1) = 3/6
P(3,2) = 0/6
P(3,3) = 1/6
I am wondering if there is a general formula for the distribution P(n,k)?
All I can see at the moment is that P(n,n) = 1/(n!), and that P(n, n-1) = 0.
Any suggestions?
I think this is called the de Montmort Problem or Matching Problem. It can be solved using inclusion-exclusion (which then can be used to prove the derangement formula in Paradoxica's link). It is worked through in this Stat110 Lecture from Harvard:I have a question which I am having difficulty analysing.
n balls are numbered 1, 2, 3, ..., n.
The balls are placed randomly in a straight line, each ball sitting in a position 1, ..., n.
Let P(n, k) be the probability that there are exactly k balls whose number corresponds to its position in the line.
For example if n=3, the possible arrangements are:
1 2 3 [3]
1 3 2 [1]
2 1 3 [1]
2 3 1 [0]
3 1 2 [0]
3 2 1 [1]
The number in square brackets indicates the number of balls sitting in the correct position.
(Those balls are bolded.)
So:
P(3,0) = 2/6
P(3,1) = 3/6
P(3,2) = 0/6
P(3,3) = 1/6
I am wondering if there is a general formula for the distribution P(n,k)?
All I can see at the moment is that:
(1) P(n,n) = 1/(n!)
(2) P(n, n-1) = 0
(3) The expected value of the distribution is equal to 1 (independent of n).
Any suggestions?
Thanks for the link. Apparently they are not derangements per se, but "partial derangements". It looks somewhat more complicated than a standard derangement (where ALL objects must be in the wrong position).This is a derangement.
Thanks for that. Looks like I have another series of YouTube lectures to view.I think this is called the de Montmort Problem or Matching Problem. It can be solved using inclusion-exclusion (which then can be used to prove the derangement formula in Paradoxica's link). It is worked through in this Stat110 Lecture from Harvard:
(The video first goes through the Birthday Problem if I recall correctly; it then goes on to the Matching Problem I think.)
Yes, it is a good series. The full playlist is here: https://youtube.com/playlist?list=PL2SOU6wwxB0uwwH80KTQ6ht66KWxbzTIo .Thanks for that. Looks like I have another series of YouTube lectures to view.
Of course these lectures are not free. 35 lectures = 35 cans of bourbon.Yes, it is a good series. The full playlist is here: https://youtube.com/playlist?list=PL2SOU6wwxB0uwwH80KTQ6ht66KWxbzTIo .
I think that lecture series is available on iTunes too.
Actually, had a look on iTunes, and they're all free: https://itunes.apple.com/us/course/statistics-110-probability/id502492375 .Of course these lectures are not free. 35 lectures = 35 cans of bourbon.
Choose the k balls to be in their right position .I have a question which I am having difficulty analysing.
n balls are numbered 1, 2, 3, ..., n.
The balls are placed randomly in a straight line, each ball sitting in a position 1, ..., n.
Let P(n, k) be the probability that there are exactly k balls whose number corresponds to its position in the line.
For example if n=3, the possible arrangements are:
1 2 3 [3]
1 3 2 [1]
2 1 3 [1]
2 3 1 [0]
3 1 2 [0]
3 2 1 [1]
The number in square brackets indicates the number of balls sitting in the correct position.
(Those balls are bolded.)
So:
P(3,0) = 2/6
P(3,1) = 3/6
P(3,2) = 0/6
P(3,3) = 1/6
I am wondering if there is a general formula for the distribution P(n,k)?
All I can see at the moment is that:
(1) P(n,n) = 1/(n!)
(2) P(n, n-1) = 0
(3) The expected value of the distribution is equal to 1 (independent of n).
Any suggestions?
Given the asymptotic distribution of fair coin outcomes, I would payYou are offered (at a price!) to flip a fair coin repeatedly until you flip n tails in a row. (n some positive integer).
At the end, you are given $k where k is the number of total flips you had (including the n tails).
Up to what price are you willing to pay in order to play this game?
Care to justify this more if you stand by it? I think you can afford to pay a lot more than that.Given the asymptotic distribution of fair coin outcomes, I would pay
Honestly, I have no clue, all I know is that the maximum betting that will yield profit is significantly larger than n....Care to justify this more if you stand by it? I think you can afford to pay a lot more than that.
Eg in the simple n=1 case we are flipping coins till we get a tails. The probability of a coinflipping sequence terminating precisely after k flips is 1/2^k, and so the expected profit from playing this game is:
Yep, the profit grows much faster than n. Will provide more hints if it goes unsolved for a while.Honestly, I have no clue, all I know is that the maximum betting that will yield profit is significantly larger than n....
My other idea was 3n/2
You are offered (at a price!) to flip a fair coin repeatedly until you flip n tails in a row. (n some positive integer).
At the end, you are given $k where k is the number of total flips you had (including the n tails).
Up to what price are you willing to pay in order to play this game?