Mark:
PENNIES
Separate 128 pennies from the large group and turn them all over.
Rap:
Count out 128 and flip them over
The number of heads in the selected group of 128 will equal the number of heads in the remaining group.
(They will, I promise you. Try it).
Mark:
CEREAL GIFT
8 1/3 (I used the nifty state machine algebra you demonstrated several pages back) :wink:
Rap:
I wager it is somewhere near 8 boxes.
(If you're going to guess, then guess way out. An accurate guess is frightening)
First, if the probability of an event happening is p then the mean number of trials to obtain a success is 1/p.
Code:
Number Probability
of of
Trials Success
------ -----------
1 p
2 pq
3 pq2
4 pq3
. .
. .
. .
Since there must eventually be a success the sum of probabilities is:
p + pq + pq^2 + pq^3 + ... = 1.
The mean number of trials (m) is: m = p + 2pq + 3pq^2 + 4pq^3 + ...
mq = pq + 2pq^2 + 3pq^3 + ...
m-qm= p + pq + pq^^3 + ...
m(1-q) = 1.
m = 1/(1-q) = 1/p.
Second, the answer to the problem can be express as the sum of the following:
Number of trials to get a first toy
Number of trials to get a second toy once you have one toy
Number of trials to get a third toy once you have two toys
Number of trials to get the final toy once you have three toys
The number of trials to get one toy is obviously one.
Once you have one the probability of getting a different toy in the next box is 3/4, thus the expected number of trials is 1/(3/4) = 4/3 to get the second toy.
By the same logic the number of trials to get the third is 1/(1/2)=2 and 1/(1/4)=4 for the final toy. Summing these yields 1 + 4/3 + 2 + 4 = 25/3.
Mark:
PYTHAGORAS
sqrt(117) km
sqrt(117)/2 km
Rap:
6^2+9^2=117
distance between the two is Sqrt(117) km half that is sqrt(117)/2
(Wait, there is more)
Footrace addendum (I don't know what this means, but he add's):
Middle of the race or middle of the stopping distance?
If it's the middle of the race Rap needs to run an additonal [sqrt(117)/2-0.5] km

and mark needs to run an additional [sqrt(117)/2+2.5] km
(Who could disagree with that impeccable reasoning?) *
* Except for the fact I came up with the wrong answer!
Suppose there are n people in an office. In the New Year, they have a random gift exchange in which every name is written on scraps of paper, mixed around in a hat, and then everyone draws a name at random to determine whom they are to get a gift for... (Apologies for end of sentence preposition)
What is the probability nobody draws his or her own name
(What are yo'all waiting for? That's it, no numbers, no other information)
Question adapted from: Number combinations for 12 year olds.