21 Mathematics Riddles and Their Solves

Mathematics Riddles and Their Solves

Riddle 1: The Missing Dollar

Three friends decide to split the cost of a $30 hotel room. Each person contributes $10. Later, the hotel clerk realizes that there was a mistake and the room actually costs $25. The clerk gives $5 to the bellboy to return to the friends.
However, the bellboy, unable to split $5 evenly, decides to give $1 back to each friend and keeps $2 for himself.
Now, each friend has paid $9 (totaling $27), and the bellboy has kept $2, which sums up to $29. But they originally paid $30. Where is the missing dollar?

Riddle 2: The Two Trains

Two trains are on the same track, heading towards each other. Train A is traveling at 60 miles per hour and Train B is traveling at 90 miles per hour. The trains are initially 300 miles apart. How long will it take for the trains to meet?

Solution
To solve this riddle, we need to determine the time it takes for the two trains to cover the 300 miles between them.
1. Combined Speed: Since the trains are moving towards each other, we add their speeds together: 60 mph + 90 mph = 150 mph.
2. Time to Meet: We divide the distance by the combined speed to find the time it takes for the trains to meet: 300 miles ÷ 150 mph = 2 hours.

Therefore, the two trains will meet after 2 hours.

Riddle 3: The Bridge Crossing

Four people need to cross a bridge at night. They have only one torch and the bridge can only hold two people at a time. Each person walks at a different speed: 1 minute, 2 minutes, 5 minutes, and 10 minutes. When two people cross together, they must go at the slower person's pace. How can they all get across the bridge in 17 minutes or less?

Solution
1. First, the two fastest people (1-minute and 2-minute) cross the bridge together, taking 2 minutes.
2. The 1-minute person returns with the torch, taking 1 minute.
3. The two slowest people (5-minute and 10-minute) cross the bridge together, taking 10 minutes.
4. The 2-minute person returns with the torch, taking 2 minutes.
5. Finally, the 1-minute and 2-minute people cross together again, taking 2 minutes. Total time: 2 + 1 + 10 + 2 + 2 = 17 minutes.

Riddle 4: The Three Hats

Three people, A, B, and C, are wearing hats. Each hat is either red or blue. They cannot see their own hat, but they can see the hats of the other two people. They are told that at least one of them is wearing a red hat. The goal is to deduce the color of their own hat based on what they see and the information provided.

Solution:
• Step 1: Assume person A sees that B and C are both wearing blue hats. Since at least one hat must be red, A must conclude their own hat is red.
• Step 2: Now, if B sees that A is wearing red and C is wearing blue, B cannot be sure of their own hat color without more information.
• Step 3: If C sees A wearing red and B wearing red, C knows their hat must be blue to satisfy the condition that at least one hat is red.
The logical deduction revolves around the information that at least one hat is red, allowing each person to use the visible hats to infer their own hat's color.

Riddle 5: The Light Bulbs

There are 100 light bulbs in a room, all initially turned off. You have 100 switches, each corresponding to one bulb. You make 100 passes through the room, starting with the first bulb. On the first pass, you toggle every bulb (turning them on). On the second pass, you toggle every second bulb (turning off every second bulb). On the third pass, you toggle every third bulb, and so on, until you only toggle the 100th bulb on the 100th pass.

The question is: After completing the 100th pass, which bulbs remain on?

Solution
A bulb ends up on if it is toggled an odd number of times. This happens if and only if the bulb's position number has an odd number of divisors. The only numbers with an odd number of divisors are perfect squares (since divisors usually come in pairs, except when the number is a perfect square).
Therefore, the bulbs that remain on are those in positions that are perfect squares: 1, 4, 9, 16, 25, 36, 49, 64, 81, and 100.

Riddle 6: The Two Doors

You are standing in front of two doors. One leads to freedom, and the other to certain doom. Each door is guarded by a guardian. One guardian always tells the truth, and the other always lies. You can ask only one question to one of the guardians to determine which door leads to freedom. What question should you ask?

Solution

Ask either guardian: "If I were to ask the other guardian which door leads to freedom, what would they say?" Then, choose the opposite door.
• If you ask the truth-teller, they will truthfully tell you the door the liar would indicate, which is incorrect.
• If you ask the liar, they will lie about the door the truth-teller would indicate, which is also incorrect.
In both cases, choosing the opposite door will lead you to freedom.

Riddle 7: The Age Puzzle

Riddle
A father is twice as old as his son. Twenty years ago, the father was twelve times as old as his son. How old are they now?

Solution
Let the son's current age be ( x ). Then the father's current age is ( 2x ). From the information given:
• Twenty years ago, the son's age was ( x - 20 ).
• The father's age was ( 2x - 20 ).
According to the riddle, twenty years ago, the father was twelve times as old as his son: [
2x - 20 = 12(x - 20)
]
Simplifying the equation:
[
2x - 20 = 12x - 240
]
[
220 = 10x
]
[
x = 22
]
Therefore, the son's current age is 22 years, and the father's current age is ( 2 \times 22 = 44 ) years.

Riddle 8: The River Crossing

You are tasked with helping a group of people cross a river using a small boat. However, there are specific constraints that must be adhered to:
1. The boat can only carry two people at a time.
2. Certain individuals cannot be left alone with others without supervision.
3. The goal is to get everyone across the river safely while respecting these constraints. Consider the following questions as you solve the riddle:
• Who should be prioritized to cross first?
• How can you ensure that no one is left alone in an unsafe situation?
• What is the minimum number of trips needed to get everyone across?

Try to find a solution that efficiently gets everyone across the river while adhering to the rules.

Riddle 9: The Monty Hall Problem

The Monty Hall Problem is a famous probability puzzle based on a game show scenario. Here's how it works:
1. Setup: You are presented with three doors. Behind one door is a car (the prize you want), and behind the other two are goats.
2. Choice: You choose one door, say Door 1.
3. Reveal: The host, Monty Hall, who knows what's behind each door, opens another door, say Door 3, revealing a goat.
4. Decision: You are then given the choice to stick with your original choice (Door 1) or switch to the other remaining door (Door 2).

The Question
What should you do to maximize your chances of winning the car? Should you stick with your original choice or switch to the other door?

The Solution

• Switching: If you switch, your probability of winning the car is 2/3.
• Staying: If you stick with your original choice, your probability of winning is 1/3.

This counterintuitive result arises because Monty's action of opening a door provides additional information, effectively increasing the probability of winning if you switch.

Riddle 10: The Chessboard and the Rice

The Riddle
Imagine a standard 8x8 chessboard. You place one grain of rice on the first square, two grains on the second square, four grains on the third, and so on, doubling the amount of rice on each subsequent square. How many grains of rice will be on the 64th square? How many grains of rice will be on the chessboard in total?

Solution

The number of grains on each square follows an exponential growth pattern, specifically powers of two.
• The number of grains on the 64th square is (2^{63}) (since the first square is (2^0)).
• To find the total number of grains on the chessboard, sum the series: (2^0 + 2^1 + 2^2 + ... + 2^{63}).
• This is a geometric series with a sum formula: (2^{64} - 1).
• Therefore, the total number of grains is 18,446,744,073,709,551,615.

Riddle 11: The Camel and Bananas

A camel must transport 3,000 bananas across a 1,000-mile desert. The camel can carry a maximum of 1,000 bananas at a time, but it eats 1 banana per mile traveled. How many bananas can be delivered to the other side of the desert?

Solution:
To maximize the number of bananas delivered, the camel must make multiple trips, leaving bananas at strategic points.
1. First Leg: Transport 1,000 bananas for 333 miles, leaving 667 bananas at that point. After returning twice to bring the remaining bananas, you'll have 2,000 bananas at 333 miles.
2. Second Leg: Transport 1,000 bananas for another 500 miles, leaving 500 bananas at that point. After returning once to bring the remaining bananas, you'll have 1,000 bananas at 500 miles.
3. Final Leg: Transport the remaining 1,000 bananas across the last 500 miles to the destination. Thus, the camel can deliver a total of 533 bananas to the other side of the desert.

Riddle 12: The Coin Weighing

You have 12 coins, and one of them is fake. The fake coin is either heavier or lighter than the rest, which are identical in weight. You have a balance scale and can use it only three times. Your task is to find the fake coin and determine whether it is heavier or lighter using the fewest weighings possible.

Solution Approach
1. First Weighing: Divide the 12 coins into three groups of four coins each. Weigh two of the groups against each other.
a. If they balance, the fake coin is in the group not weighed.
b. If they don't balance, the fake coin is in the heavier or lighter group.
2. Second Weighing: Take the group with the fake coin (4 coins) and divide it into two groups of two coins. Weigh these two groups against each other.
a. If they balance, the fake coin is one of the two not weighed.
b. If they don't balance, the fake coin is in the heavier or lighter group.
3. Third Weighing: Take the two coins from the suspected group and weigh one against a known good coin.
a. If they balance, the other coin is the fake.
b. If they don't balance, the one on the scale is the fake, and you can determine if it is heavier or lighter.

Riddle 13: The Birthday Paradox

The Birthday Paradox is a fascinating probability puzzle that challenges our intuition. It asks: "In a group of 23 people, what is the probability that at least two of them share the same birthday?" Surprisingly, the probability is over 50%!

Explanation
• Intuition vs. Reality: Most people assume that the probability is low, but the paradox shows how our intuition about probability can be misleading.
• Calculating the Probability: To solve this, calculate the probability that no one shares a birthday, and subtract it from 1.
• Mathematical Insight: The key insight is that with each additional person, the probability of a shared birthday increases rapidly.

Riddle 14: The Handshake Problem

In a room with n people, if each person shakes hands with every other person exactly once, how many handshakes occur?

Solution
The problem can be solved using the formula for combinations, as each handshake is a unique combination of two n people out of the total people. The formula to calculate the number of handshakes is:

[ \text{Number of Handshakes} = \binom{n}{2} = \frac{n(n-1)}{2} ]

This formula arises because for each person, you count all possible pairs they can form with others, and divide by 2 to account for each handshake being counted twice (once for each participant).

Riddle 15: The Water Jug Problem

The Puzzle
You have two jugs: one with a capacity of 3 liters and another with a capacity of 5 liters. The challenge is to measure exactly 4 liters of water using these jugs.

Solution
1. Fill the 5-liter jug completely.
2. Pour water from the 5-liter jug into the 3-liter jug until the 3-liter jug is full, leaving 2 liters in the 5-liter jug.
3. Empty the 3-liter jug.
4. Pour the remaining 2 liters from the 5-liter jug into the 3-liter jug.
5. Fill the 5-liter jug again.
6. Pour water from the 5-liter jug into the 3-liter jug until the 3-liter jug is full. Since it already contains 2 liters, you will add just 1 more liter, leaving exactly 4 liters in the 5-liter jug.

Riddle 16: The Two Eggs Problem

Problem Statement
You have two eggs and a 100-story building. Your task is to determine the highest floor from which you can drop an egg without it breaking, using the fewest possible egg drops.

Solution Approach
To solve this problem efficiently, you can use a strategy that minimizes the worst-case number of drops. The optimal method involves dropping the first egg in such a way that the number of remaining floors to test decreases linearly with each drop.

Step-by-Step Solution
1. Initial Drop: Start by dropping the first egg from the 14th floor.
2. Incremental Increase: If the egg doesn't break, move up to the next floor by adding 13 (i.e., 27th floor), then 12 (i.e., 39th floor), and so on.
3. Continue This Pattern: Continue this pattern (14, 27, 39, 50, 60, 69, 77, 84, 90, 95, 99) until the first egg breaks.
4. Final Check: Once the first egg breaks, use the second egg to check each floor one by one from the last safe floor up to the floor just before the break.

Explanation

By using this strategy, you ensure that the maximum number of drops required is minimized to 14. This approach leverages a decreasing step size to efficiently pinpoint the critical floor.

Riddle 17: The Magic Square

A magic square is a fascinating arrangement of numbers in a square grid, where the sums of numbers in each row, column, and diagonal are the same. The challenge lies in placing the numbers correctly to achieve this balance.

Solving the Magic Square
1. Understand the Structure: A typical magic square consists of a grid, often 3x3, 4x4, etc.
2. Calculate the Magic Constant: For a 3x3 square, the magic constant is usually the sum of numbers 1 to 9 divided by 3 (the number of rows or columns).
3. Placement Strategy: Start with placing the number 1 in the center of the top row. Follow a specific pattern (like moving diagonally up and to the right) to fill in the rest of the numbers, adjusting as necessary when the pattern leads outside the grid or into an already filled cell.

Riddle 18: The Infinite Hotel

Imagine a hotel with an infinite number of rooms, all of which are occupied. A new guest arrives and wishes to stay. The paradox here is that despite being fully occupied, the hotel can still accommodate the new guest. How is this possible?

Solution:
The manager simply asks each guest to move from their current room number ( n ) to room number ( n+1 ). This frees up room 1 for the new guest. This paradox illustrates the counterintuitive nature of infinity.

Riddle 19: The Ant and the Rubber Rope

The Puzzle
An ant starts crawling along a rubber rope that is 1 kilometer long at a speed of 1 centimeter per second. Every second, after the ant has moved, the rope is uniformly stretched by an additional 1 kilometer. Can the ant ever reach the end of the rope?

Solution
Surprisingly, the ant will eventually reach the end of the rope! As the rope stretches, the ant's relative position on the rope also stretches proportionally. Mathematically, the problem can be solved using calculus and infinite series to show that the ant will indeed reach the end of the rope given enough time.

Riddle 20: The Prisoners and Hats

The Riddle
A group of prisoners is lined up in a single file, each wearing a hat that is either red or blue. Each prisoner can only see the hats of those in front of them, not their own or those behind. Starting from the back, each prisoner must guess the color of their own hat. If they guess incorrectly, they face dire consequences. How can the prisoners maximize the number of correct guesses?

The Solution
The prisoners can use a strategy based on parity (odd or even). The prisoner at the back of the line (who can see all other hats) will call out "red" if they see an odd number of red hats in front of them, and "blue" if they see an even number. Each subsequent prisoner can then use this information, along with the hats they see in front of them, to determine the color of their own hat. This strategy ensures that all but possibly the first prisoner will guess correctly.

Riddle 21: The Cryptarithmetic Puzzle

Decode the Equation
In this cryptarithmetic puzzle, each letter stands for a unique digit. The challenge is to find the value of each letter so that the mathematical equation holds true.
For example, if the equation is:
SEND

+ MORE

------ MONEY
You need to assign a digit (0-9) to each letter such that the equation is correct.

Solution Strategy
• Identify Constraints: Each letter must represent a different digit.
• Analyze the Equation: Look for patterns or logical deductions, such as the first letter of the sum being greater than the first letter of the addends.
• Trial and Error: Use logical reasoning to assign values and test if they satisfy the equation.


Comments