Home > Riddles > The veinticinco horses

The veinticinco horses

Master playsLevel 3/5

It is not a problem of races, but of information. Each round serves to organize a part of the group and discard horses that can no longer be among the top three.

You have 25 horses and a track with 5 lanes. Only 5 horses can compete in each race, and you do not have a stopwatch: you can only know the order of finish within each race.

What is the minimum number of races necessary to identify with certainty the three fastest horses?

Hints

Show hints
  1. Start by dividing the horses into five groups of five.
  2. After sorting each group, compare the winners with each other.
  3. Once you know which group is stronger, many horses are discarded without running again.

Solution

Show full solution

Answer: 7 races are needed. Divide the 25 horses into 5 groups of 5 and run one race per group. After those 5 races, you know the internal order of each group. Let's call the groups A, B, C, D, E, already ordered internally: $$
A_1>A_2>A_3>A_4>A_5,

$$ and the same for the other groups. Now you do a sixth race with the winners of each group. Suppose the result is: $$

A_1>B_1>C_1>D_1>E_1.
$$ So $A_1$ is the fastest horse of all. You can also rule out many candidates: - no horse from groups D and E can be among the top three;

  • from group C, only $C_1$ can aspire to the top 3;
  • from group B, only $B_1$ and $B_2$ can aspire;
  • from group A, only $A_1$, $A_2$ and $A_3$ can aspire. Since $A_1$ is already first, there are five candidates for the second and third positions: $$

A_2,A_3,B_1,B_2,C_1.
$$ A seventh race between those five decides second and third. 6 races are not enough, because after comparing the winners there are still five horses compatible with occupying the second and third positions. Without facing them directly, there is not enough information to sort them. Therefore, the minimum is 7.

Related riddles

Keep practicing

If you enjoyed this one, try more pure-logic riddles, explore this theme, browse the full archive, or read the riddle-solving guide.

← Previous: The light-bulb room · Next: The Monty Hall Problem →