So there are two people, person A and person B, walking their own route at the same time. These routes take an arbitrary amount of time to walk and they start at an arbitrary point along this route. So if we take an intersection point p, I would like to know if they ever meet on that point.
So I thought of the problem like this:
There is a certain intersection time in a round $I_A$ at which person A is at the intersection point. So if $r_A$ is the time it takes for A to finish one route then $I_A \equiv t \mod r_A$ (where $t$ is the time, with $t = 0$ being at the start of the hike).
For B this would be the same, so: $I_B \equiv t \mod r_B$. I have also rewritten this expression to $t = r_B \cdot k + I_B = r_A \cdot l + I_A$ where $k, l \in \mathbb{N}$
However, I couldn't really find any solutions. (Or the infinite set of solutions that should be there or not).