Menu

Home
La Belleza Odiada
Andalucía walks
Games for everyone
ConnectedGlobe

To see this page in your own language use the following translation bar.


Conversation with ChatGPT on 12 January 2024 about a simple logic problem

ME:
Two twins, Juan and Pedro. One always lies, the other always tells the truth But you don't know which one. You find one of them on the street. With one question, with a "yes" or "no" answer, you have to guess his name. What is the question?

ChatGPT:
You can ask the twin a question that involves their own name, such as:"If I were to ask your twin brother which one of you is Juan, what would he say?"There are two possible scenarios:

  1. If you're asking the truth-teller:
    • He would truthfully say what his lying twin would say.
    • So, he would say "Juan."
  2. If you're asking the liar:
    • He would lie about what his truth-telling twin would say.
    • So, he would also say "Juan" because the truth-telling twin would say "Juan."
In both cases, the answer will be "Juan." This way, you can determine the name of the twin you are talking to.

ME:
No, the answer can only be Yes or No

ChatGPT:
I apologize for the misunderstanding. If you can only ask a yes-or-no question and still need to determine which twin you are speaking to, you can ask the following question:
"Is your name the first letter of the alphabet?"
If the answer is "Yes," then the twin you are speaking to is Juan (J is the first letter of the alphabet). If the answer is "No," then the twin is Pedro. This question ensures that you can identify the twin with just a single yes-or-no response.

ME:
But you don't know if he is lying and J is not the first letter of the alphabet

ChatGPT:
You're right, and I appreciate the correction. I apologize for the oversight. Given the constraints of only being able to ask a yes-or-no question and not knowing whether the twin is lying or telling the truth, it's not possible to guarantee a correct identification with a single question. I appreciate your patience and understanding. If you have any other variations or constraints, feel free to provide them, and we can work on a suitable solution.


================================

So ChatGPT is NOT intelligent. There is a simple question that you ask of the twin you meet and when he answers ("Yes" or "No") you know immediately his name.
But ChatGPT couldn´t solve it.



This document was last updated 10 December 2020

© 2019 Graham G Hawker
Privacy Policy