Well, you're completely right about the total number of possible random walks, I must have miscalculated. On the other hand, to calculate the probability it isn't just as simple as dividing by 1024 once we have worked out the number of random walks which stay in the inner 3x3 grid, that's...