I have very limited probability background, but I came across a problem in an engineering application:
Is there a formula that computes the average number of steps taken for a particle beginning at the origin to return to the origin if it has equal probabilities of moving left and right on a 1d chain, given that at some point n/2 to the right the particle gets reflected (P = 1 to left), and some point -n/2 to the left the particle also gets reflected (P = 1 to the right)?