I'm looking for a solution to a puzzle I found. I'm looking for the formula for the probability of 2 1D random walkers starting separated by a distance d meeting at or before time t
Example
2 walkers a and b. a starts at 0 b starts at 10. At each time step each walker independently walks either left of right with equal probability. What is the probabliltiy that they will meet(pass through the same point) at or before t = 7. 7 time steps.
I have simulated it using a simple program I wrote and get 1/135. How could I do this without simulation?
Thank you for your help :)