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

TLDRIn this video, GPT-4's reasoning abilities are tested with complex riddles, puzzles, and math problems. The AI demonstrates impressive logic to solve enigmas such as identifying the country of origin of a cartoon character's item, figuring out the number of animals on a farm, and determining the number of cards in a pack based on distribution scenarios. It also successfully deciphers a murder mystery and age-related riddles, showcasing its advanced problem-solving skills.

### Takeaways

- π§© The video tests GPT-4's capabilities in solving riddles, puzzles, and math problems.
- π€ A persona is created for GPT-4 to focus on solving these complex problems with logic and reasoning.
- π¨ The first riddle involves identifying the country of origin of an item associated with a famous painting and a cartoon character.
- π GPT-4 successfully deduces the answer to the first riddle, impressing the presenter with its reasoning.
- π The second problem is a farm riddle that GPT-4 solves using logical reasoning to determine the number of each type of animal.
- π A math problem about a pack of cards is presented, which GPT-4 solves with a complex calculation, finding there are 47 cards.
- π In a murder riddle, GPT-4 uses deductive reasoning to conclude that the man was murdered, not committed suicide.
- π¦ The age riddle about two brothers is solved by GPT-4 using algebraic equations, determining their current ages.
- πΈ The final riddle about a princess and three boxes is solved by GPT-4 using logical elimination, identifying the correct box.
- π GPT-4's performance in solving these problems demonstrates its advanced reasoning and problem-solving skills.
- π The presenter encourages viewers to suggest more riddles and puzzles to test GPT-4's capabilities in future videos.

### Q & A

### What is the main purpose of the video?

-The main purpose of the video is to test GPT-4's capabilities in solving hard riddles, puzzles, and math problems.

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

-A persona of a very smart puzzle, riddle, and math problem solver is created for GPT-4.

### Which famous museum in France is Michael likely visiting according to the first riddle?

-Michael is likely visiting the Louvre, which is famous for housing the Mona Lisa painted by Leonardo da Vinci.

### What is the cartoon character that shares a name with Leonardo da Vinci and is associated with the answer to the first riddle?

-The cartoon character is Leonardo from the Teenage Mutant Ninja Turtles.

### What is the country of origin of the item that the cartoon character from the first riddle usually holds in his hand?

-The item, a katana, originates from Japan.

### How does GPT-4 solve the riddle about the farmer and the animals on his farm?

-GPT-4 uses logical reasoning to deduce that the farmer has three sheep, two goats, and one horse.

### What is the method GPT-4 uses to solve the card problem involving dealing cards among different numbers of people?

-GPT-4 uses a complex calculation involving modular arithmetic to determine that there are 47 cards in the pack.

### How does the detective in the murder riddle know that the man was murdered and not committed suicide?

-The detective knows it's a murder because the tape recorder was still in the 'play' state, indicating someone else must have stopped the recording after the gunshot.

### What is the age of the older brother and the younger brother in the math problem involving their age relationship?

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

### Which box contains Anna's picture according to the riddle about the king, the princess, and the suitors?

-Anna's picture is in the Silver box.

### What is the conclusion of the video regarding GPT-4's performance on the riddles and math problems?

-GPT-4 successfully solved all the riddles and math problems, demonstrating its advanced reasoning and calculation abilities.

### Outlines

### π§© Riddle Solving with GPT4

The video script introduces a challenge where GPT4 is tested on its ability to solve riddles, puzzles, and math problems. The presenter creates a persona for GPT4 as a 'smart puzzle riddle and math problem solver' and selects GPT4 for its high reasoning capabilities. The first riddle involves identifying the country of origin of an item held by a cartoon character, which GPT4 successfully solves by deducing that the character is Leonardo from 'Teenage Mutant Ninja Turtles', and the item is a katana from Japan. The presenter expresses admiration for GPT4's performance compared to previous versions.

### π Mathematical Riddles and Logical Deductions

The script continues with a series of riddles and math problems that GPT4 tackles with logical reasoning and calculations. One involves a farmer with a peculiar count of animals, which GPT4 solves to reveal the farmer has three sheep, two goats, and one horse. Another problem is a classic math puzzle about a pack of cards with specific remainders when divided by different numbers, which GPT4 solves to conclude there are 47 cards. A murder riddle is also presented, where GPT4 deduces that a man's death was a murder based on the impossibility of him stopping a recording after shooting himself. The presenter is impressed by GPT4's consistent accuracy and ability to maintain context.

### π€ Age Riddle and the Princess Box Conundrum

The script concludes with more riddles, including one about the ages of two brothers, which GPT4 solves using algebraic equations to determine they are 17 and 7 years old, respectively. The final riddle involves a king, a princess, and three boxes with contradictory messages. GPT4 uses logic to determine that the silver box contains the princess's picture, as it's the only box that could be telling the truth given the conditions. The presenter wraps up by inviting suggestions for further testing of GPT4's capabilities and thanks the viewers for watching.

### π Wrapping Up the GPT4 Challenge

In the final paragraph, the presenter summarizes the video, expressing enjoyment in creating and testing riddles with GPT4. They mention the potential for more videos exploring GPT4's capabilities through prompt engineering and encourage viewers to watch more content on the channel. The presenter thanks the audience for their time and looks forward to their next encounter.

### Mindmap

### Keywords

### π‘GPT-4

### π‘Persona

### π‘Riddles

### π‘Puzzles

### π‘Math Problems

### π‘Logic

### π‘Reasoning

### π‘Mona Lisa

### π‘Katana

### π‘Farm Life Riddle

### π‘Card Game Riddle

### π‘Detective Riddle

### π‘Linear Equations

### π‘Princess Anna Riddle

### Highlights

GPT-4 is tested with hard riddles, puzzles, and math problems to showcase its reasoning capabilities.

A persona for a 'smart puzzle riddle and math problem solver' is created to focus on solving complex problems.

GPT-4's reasoning scale is set to the maximum, indicating a potential advantage over previous models.

The first riddle involves identifying the country of origin of an item held by a cartoon character, solved successfully by GPT-4.

GPT-4 uses logical reasoning to determine that the cartoon character is Leonardo from Teenage Mutant Ninja Turtles.

The solution to the first riddle is presented with clear explanation, impressing the video creator.

A farmer's riddle about the number of animals he has is solved by GPT-4 using logical deduction.

GPT-4 calculates the number of sheep, goats, and horses on the farm with a unique approach.

A complex math problem about a pack of cards is tackled by GPT-4 with a detailed calculation.

GPT-4 determines there are 47 cards in the pack, solving the card distribution riddle correctly.

A murder mystery riddle is solved by GPT-4 using the absence of a stop button press as a clue.

GPT-4's reasoning for the murder mystery indicates the presence of another person in the room.

A brother's age riddle is solved using linear equations by GPT-4, revealing their current ages.

GPT-4 calculates the ages of the brothers as 17 and 7, respectively, with a step-by-step approach.

A princess riddle is solved by GPT-4 using logical elimination, identifying the correct box.

GPT-4's reasoning for the princess riddle demonstrates its ability to process complex logical statements.

The video creator invites suggestions for further testing GPT-4's capabilities in future videos.

The video concludes with a call to action for viewers to engage with the content and share their ideas.

## Casual Browsing

4 Steps in Solving Problems

2024-06-12 22:55:00

5 Best Math Solving App | Apps That Solves Math Problems

2024-07-06 23:40:00

Math problems with GPT-4o

2024-05-18 16:20:02

Top 5 Websites to Solve Math Problems

2024-05-18 18:30:02

Math is hard for AI to learn | Jay McClelland and Lex Fridman

2024-05-18 18:20:02

Best Strategies to Solve Math Word Problems l Introduction To Math

2024-06-12 22:35:00