A flea moves jumping back and forth along a line. The flea's den is a point on the line. The jumping rules are as follows:
- if the flea is at a distance less than or equal to one meter from the den, after the next jump it will be at twice the previous distance, moving even further away from the den.
- if the flea is at a distance greater than one meter from the den, after the next jump it will be at a distance from the den but on the opposite side from where it currently is.
If after 5 jumps the flea is at from the den in a certain direction, with how many distinct sequences of jumps could it have reached that position?
, 2007
Solution
The answer is 6. We observe first of all that, regardless of the initial position, after the first jump the flea will be at a distance less than or equal to 2 meters from the den and with subsequent jumps it will not be able to reach positions more than two meters from the den.
Note further that, based on the jumping rules, a point at distance less than meter or greater than or equal to one meter from the den can be reached with a jump only starting from the point at distance from the den.
The positions at distance from the den can instead be reached either starting from or starting from . Retracing backwards the route traveled by the flea, these will be positions from which 2 possible backward trajectories start.
Let us try to establish in which positions the flea could have been after the first jump: the final position of the flea is at meters from the den. This is a branching point: the final position can be reached starting either from or starting from .
In the first case, and so it can be reached only with the sequence . At one arrives only starting from , which however is a branching point: it can be reached coming from or coming from .
Summarizing, there are three possible positions after the first jump (and hence 3 possible sequence of jumps) that allow reaching :
The flea's initial position is not subject to any constraint, in particular it is not necessarily a position reachable with a jump. This means that each of the three positions after a jump is reachable starting from initial situations, that is, respectively, coming from
The possible sequences are therefore 6. What has been described is summarized in the figure on the following page.
