Number theory and counting challenges: remainders, divisors, the locker puzzle, staircases, grid routes, the Josephus circle and the hat-check puzzle. Every answer was checked by brute force.
Question 1Hard 90 s
A staircase has 17 steps. You climb it taking 1 or 2 steps at a time. In how many different ways can you reach the top?
Show hint
The ways to reach a step = the ways to reach the step below + the ways to reach the one below that.
123 Correct
Type a number and press Enter, or tap Check.
Answer: 2584
Your last move onto step 17 is a 1-step (from step 16) or a 2-step (from step 15), so ways(17) = ways(16) + ways(15).
Build up from the bottom: 1 → 1, 2 → 2, 3 → 3, 4 → 5, 5 → 8, 6 → 13, 7 → 21, ….
Continuing: ways(17) = 2584.
These are the Fibonacci numbers.
Answer: 2584 ways
A city has a grid of streets 5 blocks wide and 6 blocks high. Walking only right or up along the streets, how many different shortest routes are there from the bottom-left corner to the top-right corner?
Show hint
Every shortest route has the same moves in a different order. Choose where the "right" moves go.
A11
B30
C462
D2048
Correct Answer: Option C
Every shortest route is 5 moves right and 6 moves up, in some order: 11 moves in all.
A route is fixed by choosing which 5 of the 11 moves go right: C(11, 5) = 462.
(Or fill in the grid: each corner's count is the sum of the corner to its left and the corner below.)
Answer: 462 routes
A farmer has more than 7 eggs. Counting them in 5s leaves 3 over; in 6s leaves 3 over; in 7s leaves 3 over. What is the smallest number of eggs she could have?
Show hint
List numbers that satisfy the largest divisor first, then test them against the others.
123 Correct
Type a number and press Enter, or tap Check.
Answer: 213
Leaving the same remainder 3 each time means N − 3 is divisible by 5, 6 and 7.
LCM(5, 6, 7) = 210, so N − 3 is a multiple of 210; N = 3 is too few (she has more than 7), so N = 210 + 3 = 213.
Answer: 213 eggs
43 people stand in a circle, numbered 1 to 43. Starting the count at person 1, every second person leaves the circle (2, 4, 6, …), and the counting carries on round the circle among those still there. Who is the last person left?
Show hint
With a power of 2 people, person 1 survives. How many people must leave before that happens?
123 Correct
Type a number and press Enter, or tap Check.
Answer: 23
After the first round only odd numbers are left. A neat pattern follows: with a power of 2 people (2, 4, 8, 16, …), person 1 always survives.
Write 43 = 32 + 11. Once 11 people have left, 32 remain and the next person to act is in the safe 'person 1' position.
That person is number 2 × 11 + 1 = 23.
Answer: 23
A staircase has 6 steps. You climb it taking 1 or 2 steps at a time. In how many different ways can you reach the top?
Show hint
The ways to reach a step = the ways to reach the step below + the ways to reach the one below that.
A8
B11
C12
D13
Correct Answer: Option D
Your last move onto step 6 is a 1-step (from step 5) or a 2-step (from step 4), so ways(6) = ways(5) + ways(4).
Build up from the bottom: 1 → 1, 2 → 2, 3 → 3, 4 → 5, 5 → 8, 6 → 13.
Continuing: ways(6) = 13.
These are the Fibonacci numbers.
Answer: 13 ways
A city has a grid of streets 2 blocks wide and 5 blocks high. Walking only right or up along the streets, how many different shortest routes are there from the bottom-left corner to the top-right corner?
Show hint
Every shortest route has the same moves in a different order. Choose where the "right" moves go.
123 Correct
Type a number and press Enter, or tap Check.
Answer: 21
Every shortest route is 2 moves right and 5 moves up, in some order: 7 moves in all.
A route is fixed by choosing which 2 of the 7 moves go right: C(7, 2) = 21.
(Or fill in the grid: each corner's count is the sum of the corner to its left and the corner below.)
Answer: 21 routes
A farmer has more than 7 eggs. Counting them in 4s leaves 2 over; in 5s leaves 2 over; in 7s leaves 3 over. What is the smallest number of eggs she could have?
Show hint
List numbers that satisfy the largest divisor first, then test them against the others.
123 Correct
Type a number and press Enter, or tap Check.
Answer: 122
Numbers above 7 leaving remainder 3 when divided by 7: 10, 17, 24, 31, 38, 45, 52, 59, 66, 73, 80, 87, ….
Test each against the other two conditions (remainder 2 by 4, remainder 2 by 5). The first that passes is 122.
Check: 122 ÷ 4 leaves 2, ÷ 5 leaves 2, ÷ 7 leaves 3 ✔ (the next is 262, since the pattern repeats every 140).
Answer: 122 eggs
65 people stand in a circle, numbered 1 to 65. Starting the count at person 1, every second person leaves the circle (2, 4, 6, …), and the counting carries on round the circle among those still there. Who is the last person left?
Show hint
With a power of 2 people, person 1 survives. How many people must leave before that happens?
A3
B5
C63
D65
Correct Answer: Option A
After the first round only odd numbers are left. A neat pattern follows: with a power of 2 people (2, 4, 8, 16, …), person 1 always survives.
Write 65 = 64 + 1. Once 1 people have left, 64 remain and the next person to act is in the safe 'person 1' position.
That person is number 2 × 1 + 1 = 3.
Answer: 3
A staircase has 18 steps. You climb it taking 1 or 2 steps at a time. In how many different ways can you reach the top?
Show hint
The ways to reach a step = the ways to reach the step below + the ways to reach the one below that.
123 Correct
Type a number and press Enter, or tap Check.
Answer: 4181
Your last move onto step 18 is a 1-step (from step 17) or a 2-step (from step 16), so ways(18) = ways(17) + ways(16).
Build up from the bottom: 1 → 1, 2 → 2, 3 → 3, 4 → 5, 5 → 8, 6 → 13, 7 → 21, ….
Continuing: ways(18) = 4181.
These are the Fibonacci numbers.
Answer: 4181 ways
A city has a grid of streets 4 blocks wide and 3 blocks high. Walking only right or up along the streets, how many different shortest routes are there from the bottom-left corner to the top-right corner?
Show hint
Every shortest route has the same moves in a different order. Choose where the "right" moves go.
123 Correct
Type a number and press Enter, or tap Check.
Answer: 35
Every shortest route is 4 moves right and 3 moves up, in some order: 7 moves in all.
A route is fixed by choosing which 4 of the 7 moves go right: C(7, 4) = 35.
(Or fill in the grid: each corner's count is the sum of the corner to its left and the corner below.)
Answer: 35 routes
We use Google Analytics cookies to see how LearnFrenzy is used and make it better, and Google AdSense to keep it free.
No analytics or ad cookies are set until you accept. Privacy Policy
·