I am trying to figure out all the possible random walks for a given distance and displacement, and it has a fairly complicated set of conditions.
The step sizes can v