# GPT-4 Prompt Engineering: Solving Hard Riddles, Puzzles and Math Problems - WOW!!

TLDRIn this video, the host challenges GPT-4 with a series of complex riddles, puzzles, and math problems to test its reasoning and problem-solving abilities. GPT-4 impressively solves each challenge, including identifying the origin of a cartoon character's weapon, figuring out the number of animals on a farm, calculating the number of cards in a deck, and deducing the circumstances of a murder case. The video showcases GPT-4's advanced capabilities in logical reasoning and mathematical computation, proving it a formidable AI assistant.

### Takeaways

- 🧩 The video is a test of GPT-4's ability to solve riddles, puzzles, and math problems.
- 🧠 GPT-4 is described as a 'smart puzzle, riddle, and math problem solver' with a focus on logic and reasoning.
- 🏛️ The first riddle involves a man named Michael at a museum in France, which leads to the conclusion that the answer is Japan.
- 🐑 The second problem is a farm riddle where the farmer has three sheep, two goats, and one horse.
- 🃏 The third problem is a math puzzle about a pack of cards with a missing number, solved to be 47 cards.
- 🔍 A murder riddle is presented where the detective deduces it's a murder because the tape recorder was stopped after the gunshot.
- 👦 The age riddle about two brothers is solved with the older brother being 17 and the younger one 7 years old.
- 👸 The final riddle is about a princess and her picture in one of three boxes, with the correct answer being the silver box.
- 🤖 GPT-4's performance is compared favorably to previous versions, showing improved reasoning and problem-solving capabilities.
- 🎉 The video concludes with an invitation for viewers to suggest more riddles and puzzles to test GPT-4's abilities.

### Q & A

### What was the persona or role created for GPT-4 in the video?

-The persona created for GPT-4 was a very smart puzzle, riddle, and math problem solver who uses logic and reasoning to solve hard problems in the simplest way.

### Why was GPT-4 chosen over Chat GPT or GPT 3.5 for solving the riddles and math problems?

-GPT-4 was chosen because it has the max scale on reasoning, which suggests it is better at solving these types of problems compared to Chat GPT or GPT 3.5.

### What was the first riddle presented in the video, and what is the solution?

-The first riddle was about Michael, a 31-year-old man at a famous museum in France, who thinks of his favorite cartoon character when looking at a famous painting. The solution is that the cartoon character is Leonardo from the Teenage Mutant Ninja Turtles, who holds a katana, which originates from Japan.

### How many animals of each kind does the farmer have on his farm according to the second riddle?

-The farmer has three sheep, two goats, and one horse on his farm.

### What is the solution to the card problem where dealing among different groups of people leaves a certain number of cards remaining?

-The solution to the card problem is that there are 47 cards in the pack.

### What was the reasoning behind the detective's conclusion that the man's death was a murder and not a suicide?

-The detective knew it was a murder 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.

### What are the current ages of the brothers in the riddle where one brother's age is related to the other's in different time periods?

-The older brother is currently 17 years old, and the younger brother is 7 years old.

### What box contained Princess Anna's picture according to the riddle with the three boxes and the king's challenge?

-Anna's picture was in the Silver box, as it was the only box with a message that could be true given the conditions.

### What was the main goal of the video script?

-The main goal of the video script was to test GPT-4's capabilities in solving hard riddles, puzzles, and math problems using logic and reasoning.

### How did the presenter engage with the audience at the end of the video?

-The presenter encouraged the audience to suggest more riddles and puzzles for testing GPT-4's capabilities and to check out more similar videos on the channel.

### Outlines

### 🧩 GPT4's Puzzle-Solving Challenge

The video script introduces a challenge where GPT4 is tested on its ability to solve riddles, puzzles, and math problems. The creator assigns GPT4 a persona of a 'smart puzzle, riddle, and math problem solver' and selects it over other models due to its high reasoning capabilities. The first riddle involves identifying the country of origin of an item held by a cartoon character, which GPT4 solves correctly by logical deduction. The video continues with a series of riddles and math problems, showcasing GPT4's problem-solving skills.

### 📊 GPT4's Success with Complex Riddles and Math

This paragraph details GPT4's performance on a series of complex riddles and math problems. It includes a riddle about a farmer's animals, which GPT4 solves using logical reasoning, and a math problem involving a pack of cards with a missing number of cards. GPT4 also correctly solves a riddle about a man found dead with a tape recorder, deducing it was murder due to the impossibility of the man stopping the recording himself. Another math problem about brothers' ages is also solved accurately by setting up and solving linear equations, demonstrating GPT4's advanced capabilities in reasoning and calculation.

### 🏰 The Princess Anna Riddle and Future Testing Plans

The final paragraph presents a riddle about a king who tests suitors' intelligence by hiding a picture and providing contradictory clues on three boxes. GPT4 uses logic to determine the correct box without any calculations. The video concludes with the creator expressing enjoyment in testing GPT4 and inviting suggestions for further challenges, hinting at more videos to come that will explore GPT4's capabilities through prompt engineering.

### Mindmap

### Keywords

### 💡GPT-4

### 💡Persona

### 💡Riddles

### 💡Puzzles

### 💡Math Problems

### 💡Logic

### 💡Reasoning

### 💡Mona Lisa

### 💡Katana

### 💡Card Games

### 💡Detective

### 💡Linear Equations

### 💡Princess Anna

### Highlights

Introduction to testing GPT-4 with hard riddles, puzzles, and math problems.

Creation of a persona focused on solving riddles, math problems, and puzzles.

Selection of GPT-4 for its high reasoning capabilities.

First riddle involving Michael, a painting, and a cartoon character.

Correct solution to the first riddle identifying the country of origin of a cartoon character's item.

Second riddle about a farmer and the logic puzzle involving different types of animals.

GPT-4's logical reasoning to determine the number of each animal the farmer has.

Third problem, a math puzzle about a pack of cards and the distribution among people.

GPT-4's complex calculation to find the number of cards in the pack.

Fourth riddle about a man found dead with a mysterious tape recording.

GPT-4's reasoning to deduce that the man's death was a murder, not a suicide.

Fifth problem, a math problem involving the ages of two brothers.

GPT-4's solution to the brothers' age problem using equations.

Sixth riddle about a king, a princess, and three boxes with contradictory messages.

GPT-4's logical conclusion to identify the box containing the princess's picture.

Invitation for viewers to suggest more riddles and puzzles for GPT-4.

Conclusion and teaser for more videos on prompt engineering with GPT-4.