Smullyanin ja Kiven ongelmia ChatGPT:lle

Keskustelin ChatGPT:n kanssa parin älyllisen ongelman tiimoilta. Opehommissa minulla oli tapana laittaa tuo Kiven Lukkarin Sepeteusongelma lukion matikan kokeisiin. Lukiolaisista noin ⅓ ei saanut tehtävää oikein. Smullyanin kuvaongelma taisi vielä vaikeampi oppilaille. Eipä tuo tekoälykään pärjännyt kovin hyvin. Yksi kolmesta taisi tehtävästä taisi mennä oikein, kun pikkaisen autoin.

Jätän lukijalle pohdittavaksi, missä kohtaa tekoäly tekee virheellisen päättelyn. Noita vastauksia lukiessa ainakin minulta meinasi äly loppua.

Alla keskustelumme. M olen minä ja C on ChatGPT 4-versio.

ongelma “what is the name of this book? -kirjasta

M: A man is looking at a portrait. Someone asked him, ”whose picture are you looking at?” He replied: ”Brothers and sisters I have none but this man’s father is my father’s son.” Whose picture was the man looking at?

C: The man was looking at his own picture.

M: How did you come to that conclusion?

C: The statement ”this man’s father is my father’s son” is a bit confusing at first, but it essentially means that the man is referring to his own son. Let’s break it down:

  • ”This man’s father”: Refers to the father of the person in the portrait.
  • ”My father’s son”: Refers to the man himself, since he is the son of his own father.

So, the statement can be rewritten as ”The father of the person in the portrait is the son of me (the man in front of the portrait)”. This means that the person in the portrait is actually the son of the man himself, which makes the portrait a picture of the man. Therefore, the man was looking at his own picture.

M: Maybe I clarify the problem a little. A man called Mikko is looking at a portrait of a man. Someone asked him, ”whose picture are you looking at?” He replied: ”Brothers and sisters I have none but this man’s father is my father’s son.” Whose picture was Mikko looking at?

C: Thank you for clarifying the problem. In this case, the man Mikko is looking at a portrait of his own son.

Let’s break down the statement ”this man’s father is my father’s son”.

  • ”This man’s father” refers to the father of the person in the portrait.
  • ”My father’s son” refers to Mikko himself, since he is the son of his own father.

So, the statement can be rewritten as ”The father of the person in the portrait is the son of Mikko”. This means that the person in the portrait is actually Mikko’s son. Therefore, Mikko is looking at a portrait of his own son.

M: Why did the change in text change your answer?

C: I apologize for any confusion. The original problem did not include the name of the man looking at the portrait, so I made the assumption that the person referred to in the statement ”this man’s father is my father’s son” was the man himself.

However, in the clarified problem, the man looking at the portrait is named Mikko. Therefore, the statement ”this man’s father is my father’s son” refers to Mikko himself, not the person in the portrait.

I hope this clears up any confusion and provides a more accurate answer to the problem.


M: What if Mikko said: ”Brothers and sisters and I have none, but this man’s son is my fathers son.” Now whose picture is Mikko looking at?

C: If Mikko said, ”Brothers and sisters I have none, but this man’s son is my father’s son,” then he is looking at a portrait of his own nephew.

Let’s break down the statement:

  • ”This man’s son” refers to the son of the person in the portrait.
  • ”My father’s son” refers to Mikko himself, since he is the son of his own father.

So, the statement can be rewritten as ”The son of the person in the portrait is the son of Mikko’s father”. This means that the person in the portrait is actually Mikko’s brother, and the son of the person in the portrait is Mikko’s nephew. Therefore, Mikko is looking at a portrait of his own nephew.

M: But man refers to the man in the picture.

C: I apologize for the confusion. If the statement ”this man’s son is my father’s son” refers to the man in the portrait, then Mikko is looking at a portrait of his own brother.

Let’s break down the statement:

  • ”This man’s son” refers to the son of the person in the portrait, who is Mikko’s nephew.
  • ”My father’s son” refers to Mikko himself, since he is the son of his own father.

So, the statement can be rewritten as ”The son of the person in the portrait is the brother of Mikko”. This means that the person in the portrait is actually Mikko’s brother, and the son of the person in the portrait is Mikko’s nephew. Therefore, Mikko is looking at a portrait of his own brother.

M: But Mikko has no brothers.

C: I apologize for any confusion. If Mikko has no brothers, then the statement ”this man’s son is my father’s son” is impossible to satisfy.

If Mikko has no siblings, then he cannot have a nephew or a brother. The statement ”this man’s son is my father’s son” would require that the man in the portrait is related to Mikko in some way, but based on the given information, we cannot determine who the man in the portrait is.

Therefore, without more information, we cannot determine whose portrait Mikko is looking at.

M: Do you know what book this problem is from?

C: This problem is a classic puzzle that has been around for many years and has been modified over time. It is often used as an example of a logic puzzle or lateral thinking problem. The origin of the puzzle is uncertain, but it has been widely circulated in various forms, including online and in puzzle books.

M: You should think again the 2nd problem.

C: I apologize for the error in my previous response. If Mikko said, ”Brothers and sisters I have none, but this man’s son is my father’s son,” then the person in the portrait is actually Mikko himself.

Let’s break down the statement:

  • ”This man’s son” refers to Mikko himself, since he is the son of the person in the portrait.
  • ”My father’s son” also refers to Mikko himself, since he is the son of his own father.

So, the statement can be rewritten as ”I am the son of the person in the portrait”. This means that the person in the portrait is actually Mikko himself. Therefore, Mikko is looking at a portrait of himself.

I apologize for any confusion caused by my previous response, and I hope this clears up the problem.

M: You must read the book ”What is the name of this book?” by Raymond Smullyan. Your answer to 2nd problem is wrong.

C: Thank you for bringing this to my attention. Upon further research, I have found that you are correct that the answer to the second problem from Raymond Smullyan’s book ”What Is the Name of This Book?” is different from the answer I provided.

In Smullyan’s version of the problem, the statement is ”Brothers and sisters, have I none, but this man’s father is my father’s son. Who is the man in the portrait?” In this version, the man in the portrait is actually the son of Mikko, making Mikko his father.

I apologize for any confusion my previous responses may have caused and for any errors in my reasoning. Thank you for bringing this to my attention and for providing the correct source and answer.

If we forget about the name Mikko and only consider the statement ”Brothers and sisters and I have none, but this man’s son is my father’s son,” then the man is looking at a portrait of his own son.

Let’s break down the statement:

  • ”This man’s son” refers to the son of the person in the portrait.
  • ”My father’s son” refers to the man himself.

So, the statement can be rewritten as ”The son of the person in the portrait is the man’s own son.” Therefore, the man is looking at a portrait of his own son.

M: OK, you are trying, but not hard enough. Bye.

Seitsemän veljeksen Lukkarin ongelma Juhanille

Tässä vaiheessa vaihdoin suomen kielelle. Päätinpä kysyä Lukkarin ongelmaa Seitsemästä veljeksestä.

M: Aleksis Kiven kirjassa Seitsemän veljestä Lukkari kysyy: ”Mikä oli Sepeteuksen poikien isän nimi”? Miten sinä päättelet vastauksen?

C: Valitettavasti en voi päätellä vastausta tähän kysymykseen, sillä minun tietoni perustuvat kirjoitettuun tekstiin, jota olen käsitellyt koulutusdatanani. Aleksis Kiven kirjan Seitsemän veljestä sisältö on minulle tuttu, mutta en muista, mainitaanko siinä Sepeteuksen poikien isän nimeä. Voitko kertoa minulle enemmän asiayhteydestä tai kohdasta kirjassa, jossa tämä kysymys esitetään?

M: Lukkarin kysymys on knoppikysymys. Hän haluaa pelleillä Juhanin kanssa. Niinpä sinun ei tarvitse tietää mitään koko kirjasta. Eli vielä kerran. Mikä oli Sepeteus nimisen miehen poikien isän nimi?

C: Kiitos selvennyksestäsi. Koska kyseessä on fiktiivinen nimi, minulla ei ole tietoa Sepeteuksen poikien isän nimestä. Aleksis Kiven teoksen Seitsemän veljestä kuvitteellinen tarina, joten Sepeteus ja hänen poikansa ovat myös kuvitteellisia hahmoja eivätkä heidän nimet liity todellisiin henkilöihin. Lukkarin kysymys voi siis olla vain mielikuvituksellinen ja perustua vain fiktiiviseen tarinaan.

M: Heh. Palataan asiaan myöhemmin.


lähteet

ChatGPT 4
https://openai.com/product/gpt-4

Raymond Smullyan. What is the name of this book?. Penguin. 1985.

Aleksis Kivi. Seitsemän veljestä. WSOY. 1950.

Advertisement

New Fibonacci-problem, product sum

James Tanton published a new problem about Fibonacci sequence  on Thursday. I started to play with it with GeoGebra. After I published my article in  Finnish some people asked about having it in English, so they could use it easier with their students. So here it is. Here I am working only with the traditional Fibonacci sequence from Liber Abaci.

In Tanton’s example  a = 4, F(3) = 3, b = 9, F(9) = 34, F(5) = 5 ja F(10) = 55 ja 377 = F(14).

flista = {1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, …} 

When I was playing with this with GeoGebra I noticed a simple connection how far a and b gets T(a,b) in the Fibonacci sequence. Kind of happy about that. Still no idea how to prove it.

At this point I will leave you some problems.

  1. Tanton’s Theorem. Let F(n) be the n’th number in the traditional Fibonacci sequence and T(a, b) = F(a)*F(b) + F(a+1)*F(b+1), a>0, b>0 and of course they are natural numbers. Then T(a, b) is a Fibonacci number. So there exist a number n so that T(a, b) = F(n).
  2. Find a relation between n, a and b, if the theorem is OK. In Tanton’s example a = 4 ja b = 9, T(4 , 9) = 377 = F(14).
  3. Is thera a simple equation for T(a, b), without recursion.
  4. Are there any other initial values F(1), F(2) for the sequence to have this property.

For me it is a little bit hard to find T(a,b) (problem 3). Tinkering (haha learnt a new word from Thomas’s book) with this idea I found that if a + b is constant, then T(a, b) is constant. So T(1,9) = T(2, 8) = T(3,7) = T (4,6) =T(5,5) = 89

I will guess that proving those theorems/problems are kind of hard.

I will be back. 

Dr. Bea – the public examination

Me and my wife tried to travel to Iceland last summer. Because of the covid we had to postpone it to my Autumn holiday. It just happened that friend Bea’s doctor public examination was on that week at the University of Iceland, so of course we had to go to see it.

Her dissertation title was “Silent video tasks – their definition, development, and implementation in upper secondary school mathematics classrooms”. I have not yet read the thesis/articles, so I will not comment on that.

The dissertation can be found at https://opinvisindi.is/handle/20.500.11815/2680

After the formalities Bea had her lecture, she explained what silent videos are, how they are used in classroom and about the research and the methods.

The opponents, prof. Dr Merrilyn Goos (Australia) and Prof. Dr. Morten Misfelt (Denmark) had their statements remotely and there was very interesting discussion about the subject. 

And finally, the dissertation was accepted.

There are many ideas that started to wake in my brain while listening the discussions. Like what are we teaching when we teach math, physics, or programming? Facts, methods, processes, problem solving, algorithms, how to use programs, how to use pen, pencil, protractor, and ruler, …? Is Bea’s silent videos the same thing like when I use simulations or videos in physics to learn about new concepts? Why some teachers want to change their ways of teaching and why they return to old ways so often? Is it a good or a bad thing? 

I hope I will write about those ideas later. 

more photos from the examination

https://photos.app.goo.gl/1eE9LwLpjMBtRYJG8

some tourist photos

https://photos.app.goo.gl/CrybM5moDnUEAfJs7