This question already has an answer here:
- Sink the Submarine 3 answers
A groundhog has made an infinite number of holes one metre apart in a straight line in both directions on an infinite plane. Every day it travels a fixed number of holes in one direction. A farmer would like to catch the groundhog by shining a torch into one of the holes at midnight when it is asleep.
What strategy can the farmer use to ensure that he catches the groundhog eventually?