In studying the 2-SAT algorithm, we considered a 1-dimensional random walk with a completely reflecting boundary at 0 . That is, whenever position 0 is reached, with probability 1 the walk moves to position 1 at the next step. Consider now a random walk with a partially reflecting boundary at 0 . Whenever position 0 is reached, with probability $1 / 2$ the walk moves to position 1 and with probability $1 / 2$ the walk stays at 0 . Everywhere else the random walk moves either up or down 1 , each with probability $1 / 2$. Find the expected number of moves to reach $n$, starting from position $i$ and using a random walk with a partially reflecting boundary.