![]() |
|
|
#12 |
|
Jun 2003
7×167 Posts |
Of course it can. Whatever you try on your first attempt has a non-zero chance of being the correct answer.
|
|
|
|
|
|
#13 | |
|
"Forget I exist"
Jul 2009
Dartmouth NS
8,461 Posts |
Quote:
proof: 600,1299,2399,3790 - lets say 0 are correct. 1299,600,2399,3790 - 1 switched, first 0 guaranteed 2399,600,1299,3790 - 2 switched, first 0 guaranteed 3790,600,1299,2399 - 3 switched, first 1 guaranteed 3790,1299,600,2399 - 4 switched, first 1 guaranteed 3790,2399,600,1299 - 5 switched, first 2 guaranteed 3790,2399,1299,600 - 6 switched, first 4 guaranteed because each of the four positions a few logic things should be thrown in and it can be sped up ( for example if 1299 wasn't correct in the first one the fourth switch isn't needed cutting it down to 5 switches plus an initial layout for 6 steps , the ones you work on have to eventually pass through the correct one so it may be even less) Last fiddled with by science_man_88 on 2013-03-26 at 01:55 |
|
|
|
|
|
|
#14 | |
|
Jun 2003
7×167 Posts |
Quote:
Therefore Let's test small k by hand Code:
1 1 1* Undefined 2 2 2 Undefined 3 3 3 3 4 ? 4 3 5 ? 5 4 6 ? 6 5 Thus we have two lower bounds for a(k): An open form one which works for all k: We can also find an upper bound for a(k). Consider the following "dumb" algorithm. Choose the first permutation at random. Then make a list of all permutations compatible with the answer you are given, and test them, one at a time, ignoring any new information you receive. This process will clearly find the correct solution in no more tries than the maximum possible number of permutations consistent with any first answer. How many is that? Answer: It's the highest figure on the kth row of this table, which is always the first or second value in the row. Moreover, the second value is always one less than, or one greater than, the first depending upon whether k is even or odd. (This can be proven using the formulas given.) In other words, Can anyone improve on these bounds? Last fiddled with by Mr. P-1 on 2013-03-26 at 10:41 |
|
|
|
|
|
|
#15 |
|
Jun 2003
7×167 Posts |
[QUOTE=science_man_88;334969600,1299,2399,3790 - lets say 0 are correct.
1299,600,2399,3790 - 1 switched, first 0 guaranteed 2399,600,1299,3790 - 2 switched, first 0 guaranteed 3790,600,1299,2399 - 3 switched, first 1 guaranteed 3790,1299,600,2399 - 4 switched, first 1 guaranteed 3790,2399,600,1299 - 5 switched, first 2 guaranteed 3790,2399,1299,600 - 6 switched, first 4 guaranteed[/QUOTE] I have no idea what any of this means. Brute force can certainly solve it in ten. After your first choice there are nine possible permutations where there are no matches (derangements), eight possible with a single match, and six with two matches. Just try each of the permutations for a total of ten tries in the worst case. |
|
|
|
|
|
#16 |
|
Dec 2007
Cleves, Germany
10000100102 Posts |
Well, I must be missing something.
To me this looks like a dumbed down variant of Master Mind (4 slots, 4 colours, no duplicates). Why on earth would this need more than the 5 guesses required for the original game? |
|
|
|
|
|
#17 |
|
"Forget I exist"
Jul 2009
Dartmouth NS
8,461 Posts |
in the video these are the prices involved and how I'd rearrange them to be able to get the correct answer in 6 guesses. basically all this is, is basically brute force with the stipulations that you don't change them once they are found, and you don't place them in the place they were to start ( the 0000 state in this estimate).
4 rounds to guess the first one, the next one only has 2 choices left one of which was there at the start ( at least in this example) so it takes 1 to place that one, and then it takes 1 to place the last 2. Last fiddled with by science_man_88 on 2013-03-26 at 11:55 |
|
|
|
|
|
#18 | |
|
Romulan Interpreter
"name field"
Jun 2011
Thailand
41×251 Posts |
Quote:
Also, you have to think about the fact that the info you get with the pegs game (how many right, how many in the right position, how many right but not in the right position, etc) you don't get it here, therefore it may require a longer guessing process. I don't know the show you are talking about, this information is what I understand by solely reading the current topic. |
|
|
|
|
|
|
#19 |
|
Jun 2003
7×167 Posts |
The prices are irrelevant. The problem is the same whatever the prices (so long as they're all different.
The first thing any mathematician does when considering a new problem is throw away everthing which isn't relevent, reducing it to its bare essentials. If you want to communicate with mathematicians, you will need to learn to do the same thing. |
|
|
|
|
|
#20 | |
|
"Forget I exist"
Jul 2009
Dartmouth NS
210D16 Posts |
Quote:
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Engine-assisted game vs Stockfish, move 36 discussion. Drawn game? | MooMoo2 | Other Chess Games | 10 | 2017-04-29 17:39 |
| Prime95 potential race on WORKER_THREADS_ACTIVE and WORKER_THREADS_STOPPING | Explorer09 | Software | 2 | 2017-03-09 08:17 |
| The human race, magnifier of the improbable | jasong | jasong | 0 | 2015-08-24 06:11 |
| Boat race | davieddy | Puzzles | 13 | 2011-11-03 15:49 |
| Horse Race | Gary Edstrom | Puzzles | 10 | 2003-08-31 14:25 |