There is no trick.
Yes, there is – even though it is probably not
intentional – and it is equivocation.
First, you say:
In the problem, each envelope can contain any
Here, you present "any number" as meaning "any number, with absolutely
no restrictions." Later, however, you do
on the numbers by requiring that it be possible for a guessed third number to fall between two such "any numbers" with a probability of greater than zero:
Given any two numbers and the algorithm, there is a
well-defined probability that you're right, and that probability is
In other words, you subtly (and perhaps
unknowingly) redefined "any number" to
effectively mean "any number within a finite range."
This is why you have to be very careful in the wording
to even get a well-defined problem.... Prior to the numbers and
algorithm, the probability of your being right is undefined and
Precisely. Prior to the numbers and the algorithm, the probability of
your being right is undefinable. How, then, did you arrive at a
concrete statement about that probability? You redefined the problem
to make it possible. You did it while explaining the "numbers and the algorithm," which made it harder to see, but you did
I'll say it again: The problem you originally presented and the
problem you ultimately analyzed are not the same. The original
problem's numbers were free of restrictions, but the analyzed problem's
numbers were not. Two different problems.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link
or How to display code and escape characters
are good places to start.