📜 ⬆️ ⬇️

Catch the rabbit

image
In the endless swamp there is an infinite number of mounds 1 , arranged in a straight line, along which the rabbit jumps. Every second he jumps 17 bumps forward 2 . You are on one of the hummocks and you know when the rabbit started jumping 3 , but you don’t know from which hummock.

Your task is to jump over the bumps so that in the final 4 time to catch 5 rabbits. What strategy will help you complete the task?

Explanations:
  1. the distances between the bumps are not important; The number of bumps is infinite, but countable.
  2. forward - one way, but you do not know which
  3. you know how to synchronize with the rabbit, tk know when the rabbit started jumping
  4. capture time is not limited, but must be finite.
  5. catch - to be with a rabbit on the same hummock at the same time.

Tips:
')
UDP: correct solution suggested in comments

Source: https://habr.com/ru/post/87276/


All Articles