We will attach integer coordinates to each square of the board, the starting point being (0,0). Then, after each move one coordinate will be of the form ±1±3±5±…, and the other will be of the form ±2±4±6±….
a) If (0,0) could be reached in exactly 2013 moves, then it would be possible to choose the + and − signs so that ±1±3±5±⋯±2013=0 and ±2±4±6±⋯±2012=0.
But, for each combination of signs, ±1±3±⋯±2013 has the same parity as 1+3+⋯+2013=10072 is odd, so the equality ±1±3±5±⋯±2013=0 is impossible. This shows that (0,0) cannot be reached in 2013 moves.
b) If (0,0) can be reached in n moves, then
±1±3±5±⋯±(2⌊2n+1⌋−1)=0and±2±4±6±⋯±2⌊2n⌋=0
Relation above implies that 0 has the same parity as 1+3+⋯+(2⌊2n+1⌋−1)=⌊2n+1⌋2, so ⌊2n+1⌋ must be even, that is 4∣n or 4∣n+1.
From the second relation, 0 has the same parity as 1+2+⋯+⌊2n⌋=2⌊2n⌋(⌊2n⌋+1), that is 4∣⌊2n⌋ or 4∣⌊2n⌋+1. This shows that 8 must divide one of the numbers n−1,n,n+1 or n+2.
From these, it follows that n must be of the form 8k or 8k−1, k∈N∗.
For each k∈N∗, (0,0) can be reached in 8k moves, because (1−3−5+7)+(9−11−13+15)+⋯+((8k−7)−(8k−5)−(8k−3)+(8k−1))=0 and (2−4−6+8)+(10−12−14+16)+⋯+((8k−6)−(8k−4)−(8k−2)+8k)=0.
It is also possible to reach (0,0) in 8k−1 moves, because (1−3−5+7)+(9−11−13+15)+⋯+((8k−7)−(8k−5)−(8k−3)+(8k−1))=0 and (2+4−6)+(8−10−12+14)+⋯+((8k−8)−(8k−6)−(8k−4)+(8k−2))=0.
Therefore, the answer is: all n=8k or n=8k−1, k∈N∗.