So does that part of the binomial series get swept under the rug to eliminate confusion about division by 0?
hmmm weird double post... I'll leave the "updated" thing...
- - - Updated - - -
As n approaches zero, the function gets closer and closer to log(x/y). In fact at n= 10^-40, it gives 40 digits of log(2). At n=10^-30, 30 digits... At n=0, it gives them all. There isn't a singularity for the function.
Although there is for the analytic continuation of it....
The series is analytic, and the function f(n,x,y)= [1- (y/x)^n] /n maps to it everywhere except at n=0. What do I call f(n,x,y) in relation to the series g(n,x,y)?
As n--> 0, f(n,x,y) --> log(x/y). For the series, there is no singularity at n=0, it reduces to the Taylor series for log(x/y).
I just saw an episode of Brooklyn Nine-Nine that had the following "brain-teaser":
There are 12 people on an Island. 11 of them weigh the same, and one weighs either more or less. There is a see-saw on the Island, but you can only use it three times. How do you figure out the person who weighs a different amount?
Now, this is fairly easy to solve either by trial and error... but it got me thinking a generalized form where there are N people on the island.
A) What is the smallest number of see-saw weightings needed (assuming that the see-saw is big enough) to solve the puzzle?
B) What is the algorithm?
I cannot prove it, but my first intuitive guess would be that since there are three results for each weighting (either one side weighs more than the other, or they are equal), and since we don't know whether the different weight is more or less and thereby theoretically need one additional bit of information, the number of weightings needed is K where N < 3^K / 2.
As for the algorithm... your thoughts?
I just saw an episode of Brooklyn Nine-Nine that had the following "brain-teaser":
There are 12 people on an Island. 11 of them weigh the same, and one weighs either more or less. There is a see-saw on the Island, but you can only use it three times. How do you figure out the person who weighs a different amount?
Now, this is fairly easy to solve either by trial and error... but it got me thinking a generalized form where there are N people on the island.
A) What is the smallest number of see-saw weightings needed (assuming that the see-saw is big enough) to solve the puzzle?
B) What is the algorithm?
I cannot prove it, but my first intuitive guess would be that since there are three results for each weighting (either one side weighs more than the other, or they are equal), and since we don't know whether the different weight is more or less and thereby theoretically need one additional bit of information, the number of weightings needed is K where N < 3^K / 2.
As for the algorithm... your thoughts?
I just saw an episode of Brooklyn Nine-Nine that had the following "brain-teaser":
There are 12 people on an Island. 11 of them weigh the same, and one weighs either more or less. There is a see-saw on the Island, but you can only use it three times. How do you figure out the person who weighs a different amount?
Now, this is fairly easy to solve either by trial and error... but it got me thinking a generalized form where there are N people on the island.
A) What is the smallest number of see-saw weightings needed (assuming that the see-saw is big enough) to solve the puzzle?
B) What is the algorithm?
I cannot prove it, but my first intuitive guess would be that since there are three results for each weighting (either one side weighs more than the other, or they are equal), and since we don't know whether the different weight is more or less and thereby theoretically need one additional bit of information, the number of weightings needed is K where N < 3^K / 2.
As for the algorithm... your thoughts?
6-6
3-3
1-1 determined.
Actually in the first two tests one group will weigh less/more than the other. The final test is either the one that weighs more/less, or, if equal the one left out.
You can write the equation. I'm sure of it.
Everybody's wrong. Okay, as far as I can tell, Jayjay's answer is right; but his information theoretic argument for it is wrong. You don't need to distinguish 2N possibilities because you don't have to find out whether the odd man out is heavy or light. So in principle N doesn't need to be less than 3^K/2. (Of course you usually find out anyway, so there's a limit to how much benefit you get from solving the problem without finding out. I haven't found any solutions where N > 3^K/2.)There are 12 people on an Island. 11 of them weigh the same, and one weighs either more or less. There is a see-saw on the Island, but you can only use it three times. How do you figure out the person who weighs a different amount?
Now, this is fairly easy to solve either by trial and error... but it got me thinking a generalized form where there are N people on the island.
A) What is the smallest number of see-saw weightings needed (assuming that the see-saw is big enough) to solve the puzzle?
B) What is the algorithm?
I cannot prove it, but my first intuitive guess would be that since there are three results for each weighting (either one side weighs more than the other, or they are equal), and since we don't know whether the different weight is more or less and thereby theoretically need one additional bit of information, the number of weightings needed is K where N < 3^K / 2.
As for the algorithm... your thoughts?
The exact bound is N = (3K - 3)/2. Your information theoretic bound gives N ≤ (3K - 1)/2, but a more sophisticated analysis disallows equality in that bound (i.e. since you know exactly one coin is counterfeit, at least one weighing should be uneven, etc, which lowers the number of distinguished possibilities). The maximal number of coins pattern is then 3, 12, 39, 120, ...
I've seen an algorithm to achieve the optimal number of weighings attributed to Freeman Dyson using trinary labels, but I'd have to look it up or think for a while to re-derive it.
- - - Updated - - -
I just saw an episode of Brooklyn Nine-Nine that had the following "brain-teaser":
There are 12 people on an Island. 11 of them weigh the same, and one weighs either more or less. There is a see-saw on the Island, but you can only use it three times. How do you figure out the person who weighs a different amount?
Now, this is fairly easy to solve either by trial and error... but it got me thinking a generalized form where there are N people on the island.
A) What is the smallest number of see-saw weightings needed (assuming that the see-saw is big enough) to solve the puzzle?
B) What is the algorithm?
I cannot prove it, but my first intuitive guess would be that since there are three results for each weighting (either one side weighs more than the other, or they are equal), and since we don't know whether the different weight is more or less and thereby theoretically need one additional bit of information, the number of weightings needed is K where N < 3^K / 2.
As for the algorithm... your thoughts?
6-6
3-3
1-1 determined.
Actually in the first two tests one group will weigh less/more than the other. The final test is either the one that weighs more/less, or, if equal the one left out.
You can write the equation. I'm sure of it.
I don't think that works. You don't know whether the counterfeit coin is heavy or light.
6-6
3-3
1-1 determined.
Actually in the first two tests one group will weigh less/more than the other. The final test is either the one that weighs more/less, or, if equal the one left out.
You can write the equation. I'm sure of it.
I don't think that works. You don't know whether the counterfeit coin is heavy or light.
What is the following, as \(a\to\infty\)?
\( \frac {1}{ \frac{\pi^2}{2^{2a+.5}}+\frac{\pi}{2^a} } - \frac{2^a}{\pi}\)
How would you extract \(\pi\) from this assuming the limit \(2=\sqrt{2+\sqrt{2+\sqrt{2+...}}}\)?
What is the following, as \(a\to\infty\)?
\( \frac {1}{ \frac{\pi^2}{2^{2a+.5}}+\frac{\pi}{2^a} } - \frac{2^a}{\pi}\)
How would you extract \(\pi\) from this assuming the limit \(2=\sqrt{2+\sqrt{2+\sqrt{2+...}}}\)?
What is the following, as \(a\to\infty\)?
\( \frac {1}{ \frac{\pi^2}{2^{2a+.5}}+\frac{\pi}{2^a} } - \frac{2^a}{\pi}\)
How would you extract \(\pi\) from this assuming the limit \(2=\sqrt{2+\sqrt{2+\sqrt{2+...}}}\)?
Change variables \(x = \frac{2^a}{\pi}\) and fiddle...
\(\displaystyle \lim_{a \to \infty} \left(\frac {1}{ \frac{\pi^2}{2^{2a+.5}}+\frac{\pi}{2^a} } - \frac{2^a}{\pi}\right) = \lim_{x \to \infty} \left(\frac {1}{\frac{1}{\sqrt{2}x^2}+\frac{1}{x}} - x\right) = \lim_{x \to \infty} \left(\frac{\sqrt{2}x^2}{1 + \sqrt{2}x} - x\right) = \lim_{x \to \infty} \left(\frac{\sqrt{2}x^2 - x(1+\sqrt{2}x)}{1 + \sqrt{2}x}\right) = \lim_{x \to \infty} \left(\frac{-x}{1 + \sqrt{2}x}\right) = - \frac{1}{\sqrt{2}}\)