- #211
Awsom Guy
- 77
- 0
1 mile. because you are in the middle.
StatusX said:You can do slightly better than that. Go in a straight line for sqrt(2) miles in, let's say, the northwest direction, then travel south to the west edge of the 1 mile radius circle surrounding your starting point, walk along the southern half of the circle, and then go a mile north, so that you finish sqrt(2) miles northeast of where you started.
I haven't been able to prove this is optimal yet, or tried to work out the expected distance version, so those are still things someone could try.
chingkui said:Imagine you are in a 100 stories building, which has a very special electrical problem that above a certain floor, all electrical outlets are not functioning properly (below that floor, all electrical outlets are functioning properly though). However, you don't know which floor is the first one that the problem occur. Your job is to locate which floor the problem start, and do it with minimal effort. You are given 2 light bulbs, and each of them will light up when you use them on the floor with no electrical problem. However, when you use anyone of them on the outlet with problem, the bulb will burn and you are going to lose one light bulb. One obvious way to locate the floor the problem start is to start with floor 1, test if the bulb burn, and go to the next floor and test until you find the floor the problem start. Doing this way, if the 1st floor is where the problem start, you are very lucky and only take one test. However, if the problem only occurs, say, starting from floor 80, then you have to test 80 times before you find the problem. It is even worse if the problem only occurs on the 100th floor. You can do better than that, and your job is to propose the optimal strategy: to use the 2 bulbs to find the problematic floor so that no matter which floor the problem start, the maximum number of tests would not be worse than any other strategy in the worst case. (Your proposed strategy should be in the form: which floor to test first? If the bulb burns, which floor next? If not, then which floor? ...)
More challenge: what if you have 3 bulbs? How about 4? And... if you have as many as u wish, what is the worst case optimal number of trials? How many bulb minimum would u be using?
CRGreathouse said:First, with just two bulbs, you must adopt the following strategy: Hit a particular list of floors until you fail, then go back to one above where you last succeeded and go up one at a time. (Otherwise you risk not knowing the exact floor.)
The 'obvious' strategy is to split the problem space in half (multiplicatively), so go 10 floors up, then 20, etc. This gives a worst case of the 99th or 100th floor, 18 tries needed.
But we can do better (in the worst case), since we're being too generous on the first try: if the bulb fails on the 10th floor, we'll need at most 10 tries. So try the 15th floor, the 29th floor, the 42nd floor, the 54th floor, the 65th floor. the 75th floor, the 84th floor, the 92nd floor, and the 99th floor. Better, but this can probably still be improved -- the last jump should be smaller. 14 works, 13 doesn't:
14 27 39 50 60 69 77 84 90 95 99
13 25 36 46 55 63 70 76 81 85 88 90 91
so the optimal for 2 bulbs is 14 tries, for 93 to 106 stories.
If you have ceil(lg floors) or more bulbs, a binary search should be optimal. For 2 < bulbs < ceil(lg floors) you can build the solution recursively, I think. Given a list of optimal heights for a given number of tries at B bulbs, make a list for B+1 bulbs using the same procedure recursively. Since the first is a second-degree polynomial (k tries -> k(k+1)/2 + 1 stories), I wouldn't be surprised if the others could be expressed as higher-degree polynomials; but this I haven't checked into.
Gib Z said:If CRGreathouse doesn't want to post a problem, here's one:
Find the units digit in the decimal representation of [tex]\left[ \frac{10^{20000}}{10^{100} +3} \right] [/tex] where [x] is the floor function of x.
snipez90 said:Problem:
Determine (with proof) for which [itex]\alpha > 0[/itex] and for which [itex]x[/itex] is the function [itex]f:\mathbb{R} \rightarrow \mathbb{R}[/itex] defined by
[tex] f_\alpha (x) =\begin{cases}\frac{1}{q^{\alpha}}&\text{if }x =\frac{p}{q}\neq 0, gcd(p,q) = 1, q > 0\\ 0 &\text{if }x = 0\,\, \mbox{or x is irrational}}\end{cases} [/tex]
continuous. What about differentiability?
Gokul43201 said:A Q&A game is simple: One person asks a relevant question (it can be research, calculation, a curiosity, something off-the-top-of-the-head, anything ... as long as it's a math question) and other people try to answer. The person who posts the first correct answer (as recognized by s/he who asked the question) gets to ask the next question, and so on.
Let me start this off with a simple number theory problem :
What is the least number than must be multiplied to 100! (that's a factorial) to make it divisible by [itex]12^{49} [/itex] ?
(throw in a brief -couple of lines or so- explanation with the answer)
snipez90 said:Problem:
Determine (with proof) for which [itex]\alpha > 0[/itex] and for which [itex]x[/itex] is the function [itex]f:\mathbb{R} \rightarrow \mathbb{R}[/itex] defined by
[tex] f_\alpha (x) =\begin{cases}\frac{1}{q^{\alpha}}&\text{if }x =\frac{p}{q}\neq 0, gcd(p,q) = 1, q > 0\\ 0 &\text{if }x = 0\,\, \mbox{or x is irrational}}\end{cases} [/tex]
continuous. What about differentiability?
Tedjn said:Here's a nice problem. This one is quite fun and something that does not require any higher mathematics.
2010 Putnam Problem B3
There are 2010 boxes labeled B1, B2, ..., B2010, and 2010n balls have been distributed among them, for some positive integer n. You may redistribute the balls by a sequence of moves, each of which consists of choosing an i and moving exactly i balls from box Bi into any other box. For which values of n is it possible to reach the distribution with exactly n balls in each box, regardless of the initial distribution of balls?