Page 1 of 2
Problem 185
Posted: Sun Jun 07, 2009 10:01 am
by axelbrz
Hi,
Can it be solved in less than a minute?
And do I have to use random function to solve it?
Thanks!
Re: Problem 185
Posted: Sun Jun 07, 2009 11:00 am
by ed_r
You've been around long enough, axelbrz, to know not to expect an answer to that sort of question!

Re: Problem 185
Posted: Sun Jun 07, 2009 11:58 am
by LarryC
It can be solved in less than a minute as almost every problem can. But that's a given.

Re: Problem 185
Posted: Sun Jun 07, 2009 8:51 pm
by axelbrz
okss! lol

I'll try to solve it!
Thanks!

Re: Problem 185
Posted: Thu Sep 17, 2009 8:21 pm
by LarryBlake
In the example for the 5 digit problem, the guesses hit all 5 of the digits. Can we assume the same for the 16 digit problem?
Re: Problem 185
Posted: Thu Sep 17, 2009 8:43 pm
by hk
When you assume something, you risk being wrong half the time.
So, try and find out.
Re: Problem 185
Posted: Thu Sep 17, 2009 8:45 pm
by quilan
LarryBlake wrote:In the example for the 5 digit problem, the guesses hit all 5 of the digits. Can we assume the same for the 16 digit problem?
I don't recall exactly, been a while, but I do remember it was deterministic... i.e. only one answer.
Re: Problem 185
Posted: Thu Sep 17, 2009 8:46 pm
by LarryBlake
Half? You think highly of me.

Re: Problem 185
Posted: Thu Sep 17, 2009 8:48 pm
by stijn263
quilan wrote:I don't recall exactly, been a while, but I do remember it was deterministic... i.e. only one answer.
Problem 185 (
View Problem) reads:
Find the unique 16-digit secret sequence

Re: Problem 185
Posted: Thu Sep 17, 2009 8:55 pm
by LarryBlake
Thanks. I understood that there was only one right answer. My question was, are all 16 of the digits mentioned in the guesses, or do I need to consider every digit as a possibility in each position (except where I can logically exclude them)?
Re: Problem 185
Posted: Thu Sep 17, 2009 8:59 pm
by hk
I understood your question perfectly.
That's what you have to find out.
Re: Problem 185
Posted: Thu Sep 17, 2009 9:02 pm
by LarryBlake
Okay.
Are you going to change your signature next year?
Re: Problem 185
Posted: Thu Sep 17, 2009 9:03 pm
by hk
Yes, into 7×7×(7×7-7-7/7)+7log(7)
Re: Problem 185
Posted: Fri Oct 02, 2009 7:22 am
by Georges
is there a fast algorithm for this problem ? (polynomial time)
Re: Problem 185
Posted: Fri Oct 02, 2009 10:11 am
by zwuupeape
No, this problem is NP-complete.
Re: Problem 185
Posted: Wed Dec 23, 2009 2:14 pm
by LarryBlake
Wow, this was hard. After many different attempts, I finally got it, and not under 1 minute either.
Really nice problem.
Re: Problem 185
Posted: Wed Dec 23, 2009 6:36 pm
by Lord_Farin
zwuupeape wrote:No, this problem is NP-complete.
If I read the definition of NP-complete correctly, a problem belonging there does not mean there is no polynomial time solution... It just means that if there is one, there is a P solution for every problem in NP. The proof or disproof that NP-complete problems have no P-time solutions, however, is still unknown to man.
Re: Problem 185
Posted: Wed Dec 23, 2009 6:53 pm
by zwuupeape
The way I understand, he asks if such an algorithm is known, not if it could exist in theory. No algorithm that solves any NP-complete problem in polynomial time is known to exist. The more interesting question is, of course, if the problem belongs to that class. The answer is yes, because - at least as I read on the forum and confirmed online - the game of Mastermind is NP-complete and this one is the same except you have less information.
Re: Problem 185
Posted: Sun May 22, 2011 2:22 am
by elr
does leading zeros allowed at the "secret sequence of digits" ?
Re: Problem 185
Posted: Sun May 22, 2011 2:45 am
by rayfil
Find the unique 16-digit secret sequence
A sequence of digits is requested. Since 0's are allowed as digits, they could appear anywhere in the sequence. Consider the digits as different colors.