Consider a bounded one dimensional random walk, with end points as 0 and N. If we start from x, where x is an interior point of {0,1,2,...,N}, what is the expected number of steps(m(x)) required to reach 0 or N. The probability of going to the left or right side from any interior point is equal(=1/2). Is it possible to prove that m(x) is finite and find a recursive equation(involving m(x-1) and m(x+1))?
Note: Actually, this question is a follow up to the harmonic nature of the probability (p(x)) of starting from an interior point and reaching the bounds, where I proved $p(x)=\frac{p(x-1)+p(x+1)}{2}$.