Question 22
The numbers 1, 2, 3, 4, and 5 have to be written in the five cells in the figure according to the following rules:
- If a number is just below another number, it has to be the greater one.
- If a number is just to the right of another number, it has to be the greater one.
In how many ways can this table be filled?

Editable layout (— is outside the figure):
| | Column 1 | Column 2 | Column 3 |
|---|---|---|---|
| Row 1 | □ | □ | □ |
| Row 2 | □ | — | — |
| Row 3 | □ | — | — |
- If a number is just below another number, it has to be the greater one.
- If a number is just to the right of another number, it has to be the greater one.
In how many ways can this table be filled?

Editable layout (— is outside the figure):
| | Column 1 | Column 2 | Column 3 |
|---|---|---|---|
| Row 1 | □ | □ | □ |
| Row 2 | □ | — | — |
| Row 3 | □ | — | — |