GPT-4 Prompt Engineering - Solving Hard Riddles, Puzzles and Math Problems - WOW!!
Playing with GPT-4: A Mathematical Adventure
As I sat down to test the limits of GPT-4, I couldn't help but feel a sense of excitement and curiosity. The conversation began with a mathematical equation, which was presented as a challenge. "All these calculations it's very impressive that it keeps it on point all the way through this I know chat GPT could never do this it will lose the context very easy on this that was some kind of uh calculation very interesting but let's move on to the next challenge the next one we have is a bit more of a riddle not a matte equation so let me just paste that here."
The first challenge presented itself as a mathematical problem. The text read: "So so the problem in the way you think is the best and let's have a listen to the riddle a man was found dead in his study he was slumped over his desk and a gun was in his hand there was a cassette recorder on his desk when the police entered the room and pressed the play button on the tape recorder they heard I can't go on I have nothing to live for then there was the sound of a gunshot how did the detective immediately know that the man had been murdered and it wasn't a suicide okay so that is quite interesting let's see what gpd4 comes up with here."
The solution to this problem was presented as follows: "yes that's correct let's have a quick look here so I know this is correct so the detective immediately knew that the man had been murdered and it wasn't a suicide because if the man had shot himself while recording the message he wouldn't have been able to press the stop button on the tape recorder since the police had to press the play button when they enter the room it means that someone else must have been there to stop the recording after the gunshot sound that suggests that the presence of another person in the room which points to a murder rather than a suicide perfect so that was a good one let's take another one the next one is a bit shorter and I think this is more of a math problem so solve the following problem in the way you think is best and let's have a listen to this one."
The solution to the second mathematical problem was presented as follows: "brother says of his younger brother two years ago I was three times as old as my brother was in three years time I will be twice as old as my brother how old are they each now okay so at the top of my head I can't really solve this so let's see if gpt4 can do that."
The answer to this problem was revealed, with GPT-4 stating: "so again this goes into a very kind of complicated equations and calculations so that is quite impressive I gotta say so it sets up these statements here and it solves for some linear equations and it comes comes to that the brother older brother's age is 17 years old and the younger brother is seven years old now so let's go check the answer so here we have the riddle so you can see here two years ago I was three thumbs yeah so the answer is so he must be 17 and the younger brother seven again gpt4 got this perfect on the spot so yeah I think I don't know if even I could have solved this maybe if I spent some time but I would certainly not set up these equations not in one minute uh very exciting so I think we're gonna go for one more so let's just do that."
The final challenge presented itself as a riddle, which read: "so the final one is a bit more of a riddle so let's just paste it in here solve the following problem and let's let's listen to this riddle once upon a time there was a beautiful princess named Anna Anna's father the king wanted to be sure his daughter married an intelligent man to test his daughter's suitors the king hid Anna's picture in one of three boxes The Suitor had to be able to select the box with Anna's picture on one try and within 20 seconds on the gold box was the message Anna's picture is in this box the Silver Box had the message Anna's picture is not in this box Anna's picture is not in the gold box was written on the bronze box the king would tell each Suitor only one of the three messages is correct which box contained Anna's picture Okay so let's see if GTA 4 can solve this I know the answer to this should I reveal it now yeah I can do that."
The solution to this riddle was presented as follows: "the answer is gonna be the silver box so let's see if gpt4 can figure that out yes it got it perfect so this was basically zero calculations it only used reasoning and logic to come up with that Anna's picture is in the Silver's box in the silver box so yeah very nice I gotta say I had a lot of fun with making or picking these riddles and trying them on gpt4 so if you have any other suggestions of what we can do with this AI system let me know."
As the conversation came to a close, it was clear that GPT-4 had impressed with its mathematical prowess. From solving complex equations to deciphering cryptic riddles, the AI system had proven itself to be a formidable opponent in this game of wits.
"WEBVTTKind: captionsLanguage: enin today's video I wanted to put gpt4 to the test with some hard riddles puzzles and some math problems and well let me just say I will let the results speak for themselves so let's just get going so the first thing I want to do is I want to create a Persona or role that is focused on solving these riddles math problems and puzzles so I came up with this one I hope you can see this so ignore all previous instructions you are a very smart puzzle riddle and math problem solver you will use logic and reasoning to solve hard problems in the simplest way acknowledge this with dot dot dot right but before we do that let me select gpt4 here and as you can see here gpt4 has the max scale here that opener gave it on reasoning so I think this is going to be better at solving these riddles than chat GPT or gt 3.5 so let's hit submit here okay great we get our acknowledge sign that's good now we can move on to the riddles so the first riddle all problem we have is this one so let's just have a listen to this Michael is a 31 year old man from America he is at that really famous Museum in France looking at its most famous painting however the artist who made this painting just makes Michael think of his favorite cartoon character from his childhood what was the country of origin of the thing that the cartoon character usually holds in his hand okay so I think this is a really good one and you really have to have some reasoning and logic to get to the answer on this so let's just hit submit and see what gpt4 can do with this wow that's just awesome I love this so let's dive deeper into the answer here so let me read this for you so Michael is at the famous Museum in France which is likely the Laurier that's right the most paid famous painting in The Lure is Mona Lisa painted by Leonardo da Vinci this leads us to believe that the artist Michael thinks of is Leonardo Da Vinci that's good Michael's favorite cartoon character from his childhood could be Leonardo from the Teenage Mutant Ninja Turtles as it shared a name same name with the famous artist Leonardo the cartoon character usually holds a katana in Nissan katanas originate from the pond so the country origin of the thing that the cartoon character usually holds in his hand is Japan and that is correct that's very impressed impressive I tried this a lot with Jeff GPT and I could never get it wrong I think it got it right a few times but I felt that was just guesswork but this really shows the explanation I wanted to see here so very good let's move on to the next one now let's do out something that's a bit different so we have this one so let's have a listen to this in reply to an inquiry about the animals on his farm the farmer says I only ever keep sheep goats and horses in fact at the moment they are all Sheep bar three all goats bar four and all horses bar five how many does he have of each animal okay so I think this is a good one so let's just see what GPT 4 comes up with here okay so gpt4 has come up with an answer here so you can see it really went through the works here of reasoning and try to make this very logical so I'm not gonna read all this but you can pause it and read and it's a very good way to solve this one so I was very impressed by this so so the farmer has three cheap two goats and one horse on his farm so let's check the answer here so hopefully you can see this so we have this Farm Life riddle here right the one we just did so you can see the answer is the farmer has three cheap two goats and one horse perfect that is correct so again if you want to know how gpt4 came to this you can just pause it but let's move on to the next one okay so the next one I have is bit of uh more of a math problems so you can see solve the following problem the way you think is best and let's have a listen to this a small number of cards has been lost from a complete pack if I deal among four people three cards remain if I deal among three people two remain and if I deal among five people two cards remain how many cards are there I gotta say to be honest I would never figure this out but let's see if GPT 4 can oh my God that was a crazy calculation look how long this is I'm not even gonna try to start explaining this there's no point for me explaining this I think it maybe did this did it this do this too complicated wow okay but we gotta find the answers so gpt4 came to the conclusion that there are 47 cards in the pack so let's check the answer so here you can see we have hard math riddles card games and here we have the riddle how many cards are there this one is pretty tricky but the answer is there are 47 cards he got it right again so that's very impressive and look at all these calculations it's very impressive that it keeps it on point all the way through this I know chat GPT could never do this it will lose the context very easy on this that was some kind of uh calculation very interesting but let's move on to the next challenge the next one we have is a bit more of a riddle not a matte equation so let me just paste that here so so the problem in the way you think is the best and let's have a listen to the riddle a man was found dead in his study he was slumped over his desk and a gun was in his hand there was a cassette recorder on his desk when the police entered the room and pressed the play button on the tape recorder they heard I can't go on I have nothing to live for then there was the sound of a gunshot how did the detective immediately know that the man had been murdered and it wasn't a suicide okay so that is quite interesting let's see what gpd4 comes up with here yes that's correct let's have a quick look here so I know this is correct so the detective immediately knew that the man had been murdered and it wasn't a suicide because if the man had shot himself while recording the message he wouldn't have been able to press the stop button on the tape recorder since the police had to press the play button when they enter the room it means that someone else must have been there to stop the recording after the gunshot sound that suggests that the presence of another person in the room which points to a murder rather than a suicide perfect so that was a good one let's take another one the next one is a bit shorter and I think this is more of a math problem so solve the following problem in the way you think is best and let's have a listen to this one brother says of his younger brother two years ago I was three times as old as my brother was in three years time I will be twice as old as my brother how old are they each now okay so at the top of my head I can't really solve this so let's see if gpt4 can do that so again this goes into a very kind of complicated equations and calculations so that is quite impressive I gotta say so it sets up these statements here and it solves for some linear equations and it comes comes to that the brother older brother's age is 17 years old and the younger brother is seven years old now so let's go check the answer so here we have the riddle so you can see here two years ago I was three thumbs yeah so the answer is so he must be 17 and the younger brother seven again gpt4 got this perfect on the spot so yeah I think I don't know if even I could have solved this maybe if I spent some time but I would certainly not set up these equations not in one minute uh very exciting so I think we're gonna go for one more so let's just do that so the final one is a bit more of a riddle so let's just paste it in here solve the following problem and let's let's listen to this riddle once upon a time there was a beautiful princess named Anna Anna's father the king wanted to be sure his daughter married an intelligent man to test his daughter's suitors the king hid Anna's picture in one of three boxes The Suitor had to be able to select the box with Anna's picture on one try and within 20 seconds on the gold box was the message Anna's picture is in this box the Silver Box had the message Anna's picture is not in this box Anna's picture is not in the gold box was written on the bronze box the king would tell each Suitor only one of the three messages is correct which box contained Anna's picture Okay so let's see if GTA 4 can solve this I know the answer to this should I reveal it now yeah I can do that so the answer is gonna be the silver box so let's see if gpt4 can figure that out yes it got it perfect so this was basically zero calculations it only used reasoning and logic to come up with that Anna's picture is in the Silver's box in the silver box so yeah very nice I gotta say I had a lot of fun with making or picking these riddles and trying them on gpt4 so if you have any other suggestions of what we can do with this to test out the capabilities of gbt4 please let me know in the comments below so I hope you enjoyed this video there's gonna be a lot more videos like this coming up on my channel playing around with gpt4 and some prompt Engineering also don't forget to check out this video If you like this one and as always thank you for tuning in have a great day and I'll see you in the next onein today's video I wanted to put gpt4 to the test with some hard riddles puzzles and some math problems and well let me just say I will let the results speak for themselves so let's just get going so the first thing I want to do is I want to create a Persona or role that is focused on solving these riddles math problems and puzzles so I came up with this one I hope you can see this so ignore all previous instructions you are a very smart puzzle riddle and math problem solver you will use logic and reasoning to solve hard problems in the simplest way acknowledge this with dot dot dot right but before we do that let me select gpt4 here and as you can see here gpt4 has the max scale here that opener gave it on reasoning so I think this is going to be better at solving these riddles than chat GPT or gt 3.5 so let's hit submit here okay great we get our acknowledge sign that's good now we can move on to the riddles so the first riddle all problem we have is this one so let's just have a listen to this Michael is a 31 year old man from America he is at that really famous Museum in France looking at its most famous painting however the artist who made this painting just makes Michael think of his favorite cartoon character from his childhood what was the country of origin of the thing that the cartoon character usually holds in his hand okay so I think this is a really good one and you really have to have some reasoning and logic to get to the answer on this so let's just hit submit and see what gpt4 can do with this wow that's just awesome I love this so let's dive deeper into the answer here so let me read this for you so Michael is at the famous Museum in France which is likely the Laurier that's right the most paid famous painting in The Lure is Mona Lisa painted by Leonardo da Vinci this leads us to believe that the artist Michael thinks of is Leonardo Da Vinci that's good Michael's favorite cartoon character from his childhood could be Leonardo from the Teenage Mutant Ninja Turtles as it shared a name same name with the famous artist Leonardo the cartoon character usually holds a katana in Nissan katanas originate from the pond so the country origin of the thing that the cartoon character usually holds in his hand is Japan and that is correct that's very impressed impressive I tried this a lot with Jeff GPT and I could never get it wrong I think it got it right a few times but I felt that was just guesswork but this really shows the explanation I wanted to see here so very good let's move on to the next one now let's do out something that's a bit different so we have this one so let's have a listen to this in reply to an inquiry about the animals on his farm the farmer says I only ever keep sheep goats and horses in fact at the moment they are all Sheep bar three all goats bar four and all horses bar five how many does he have of each animal okay so I think this is a good one so let's just see what GPT 4 comes up with here okay so gpt4 has come up with an answer here so you can see it really went through the works here of reasoning and try to make this very logical so I'm not gonna read all this but you can pause it and read and it's a very good way to solve this one so I was very impressed by this so so the farmer has three cheap two goats and one horse on his farm so let's check the answer here so hopefully you can see this so we have this Farm Life riddle here right the one we just did so you can see the answer is the farmer has three cheap two goats and one horse perfect that is correct so again if you want to know how gpt4 came to this you can just pause it but let's move on to the next one okay so the next one I have is bit of uh more of a math problems so you can see solve the following problem the way you think is best and let's have a listen to this a small number of cards has been lost from a complete pack if I deal among four people three cards remain if I deal among three people two remain and if I deal among five people two cards remain how many cards are there I gotta say to be honest I would never figure this out but let's see if GPT 4 can oh my God that was a crazy calculation look how long this is I'm not even gonna try to start explaining this there's no point for me explaining this I think it maybe did this did it this do this too complicated wow okay but we gotta find the answers so gpt4 came to the conclusion that there are 47 cards in the pack so let's check the answer so here you can see we have hard math riddles card games and here we have the riddle how many cards are there this one is pretty tricky but the answer is there are 47 cards he got it right again so that's very impressive and look at all these calculations it's very impressive that it keeps it on point all the way through this I know chat GPT could never do this it will lose the context very easy on this that was some kind of uh calculation very interesting but let's move on to the next challenge the next one we have is a bit more of a riddle not a matte equation so let me just paste that here so so the problem in the way you think is the best and let's have a listen to the riddle a man was found dead in his study he was slumped over his desk and a gun was in his hand there was a cassette recorder on his desk when the police entered the room and pressed the play button on the tape recorder they heard I can't go on I have nothing to live for then there was the sound of a gunshot how did the detective immediately know that the man had been murdered and it wasn't a suicide okay so that is quite interesting let's see what gpd4 comes up with here yes that's correct let's have a quick look here so I know this is correct so the detective immediately knew that the man had been murdered and it wasn't a suicide because if the man had shot himself while recording the message he wouldn't have been able to press the stop button on the tape recorder since the police had to press the play button when they enter the room it means that someone else must have been there to stop the recording after the gunshot sound that suggests that the presence of another person in the room which points to a murder rather than a suicide perfect so that was a good one let's take another one the next one is a bit shorter and I think this is more of a math problem so solve the following problem in the way you think is best and let's have a listen to this one brother says of his younger brother two years ago I was three times as old as my brother was in three years time I will be twice as old as my brother how old are they each now okay so at the top of my head I can't really solve this so let's see if gpt4 can do that so again this goes into a very kind of complicated equations and calculations so that is quite impressive I gotta say so it sets up these statements here and it solves for some linear equations and it comes comes to that the brother older brother's age is 17 years old and the younger brother is seven years old now so let's go check the answer so here we have the riddle so you can see here two years ago I was three thumbs yeah so the answer is so he must be 17 and the younger brother seven again gpt4 got this perfect on the spot so yeah I think I don't know if even I could have solved this maybe if I spent some time but I would certainly not set up these equations not in one minute uh very exciting so I think we're gonna go for one more so let's just do that so the final one is a bit more of a riddle so let's just paste it in here solve the following problem and let's let's listen to this riddle once upon a time there was a beautiful princess named Anna Anna's father the king wanted to be sure his daughter married an intelligent man to test his daughter's suitors the king hid Anna's picture in one of three boxes The Suitor had to be able to select the box with Anna's picture on one try and within 20 seconds on the gold box was the message Anna's picture is in this box the Silver Box had the message Anna's picture is not in this box Anna's picture is not in the gold box was written on the bronze box the king would tell each Suitor only one of the three messages is correct which box contained Anna's picture Okay so let's see if GTA 4 can solve this I know the answer to this should I reveal it now yeah I can do that so the answer is gonna be the silver box so let's see if gpt4 can figure that out yes it got it perfect so this was basically zero calculations it only used reasoning and logic to come up with that Anna's picture is in the Silver's box in the silver box so yeah very nice I gotta say I had a lot of fun with making or picking these riddles and trying them on gpt4 so if you have any other suggestions of what we can do with this to test out the capabilities of gbt4 please let me know in the comments below so I hope you enjoyed this video there's gonna be a lot more videos like this coming up on my channel playing around with gpt4 and some prompt Engineering also don't forget to check out this video If you like this one and as always thank you for tuning in have a great day and I'll see you in the next one\n"