How Many Questions to Determine Coin Positions with Permitted Lies?

  • Context: Undergrad 
  • Thread starter Thread starter wubie
  • Start date Start date
  • Tags Tags
    Detection Error
Click For Summary
SUMMARY

The discussion focuses on determining the status of two coins (heads or tails) with the allowance of two lies in responses. The initial proposal involves asking five questions about each coin, totaling ten questions, and using majority responses to deduce the coin states. The concept of Hamming Distance is introduced, revealing that a minimum Hamming Distance of 5 is necessary to correct for two errors. The participant seeks a more efficient method than the proposed ten questions.

PREREQUISITES
  • Understanding of binary outcomes and coin states.
  • Familiarity with error detection concepts.
  • Knowledge of Hamming Distance and its application in coding theory.
  • Basic problem-solving skills in combinatorial logic.
NEXT STEPS
  • Research Hamming Distance and its applications in error correction coding.
  • Explore alternative methods for minimizing question counts in binary decision problems.
  • Study combinatorial game theory related to information gathering.
  • Investigate the implications of permitted lies in logical deduction scenarios.
USEFUL FOR

Mathematicians, computer scientists, and anyone interested in logic puzzles, error detection, and optimization of question-based problem-solving strategies.

wubie
[SOLVED] Error Detection

Hello,

I have a question about error detection.

Senario:

One person can see two coins. Each coin could be laying heads up or tails up. You cannot see the coins.

Question:

What is the minimum number of questions with a "yes" or "no" response need to determine the status of two coins (that is whether they lie heads up or tails up) if two lies are permitted. All questions are tabled before any answers are given, and no hypothetical questions are allowed.


I quickly came up with one way of determining the status of the two coins:

Ask this question FIVE times about the first coin:

"Is the first coin heads up?"

Then ask this question FIVE times about the second coin:

"Is the second coin tails up?"

By taking a majority decision, one could deduce the status of the two coins. But is there a better way?

In class we have been talking about Hamming Distances. But I can't figure out how I would set this question up with regards to Hamming Distance.


Any help is appreciated.
 
Physics news on Phys.org
Alright. I found out some key information that I was not aware of to solve this question.

The number of code words is equal to the number of outcomes.

The possible number of outcomes for two coins are:

Heads-Heads, Heads-Tails, Tails-Heads, Tails-Tails.

There are four outcomes and so I need four code words.


Also, if I need to correct two errors, then the Hamming Distance between codewords must be at least

2k + 1

Therefore since there are two lies, I must have a minimum Hamming Distance of 5 between codewords.

Now I know that using ten questions I could determine the status of both coins. So, once again, the question is, "Can I do better than ten questions?"



For more nfo. on Hamming Distances as well as the course that I am taking go to:

http://www.math.uAlberta.ca/~tlewis/222_03f/scarlet2.pdf

under the section Hamming Distance.


I am still working on this question so I will post my answer later.

Cheers everyone.
 
Last edited by a moderator:

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 45 ·
2
Replies
45
Views
6K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
5K
  • · Replies 45 ·
2
Replies
45
Views
4K
  • · Replies 61 ·
3
Replies
61
Views
11K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
9K
  • · Replies 70 ·
3
Replies
70
Views
60K