Say a $8 \times 8$ chessboard as per picture.

A position is represented here by co-ordinates $(x,y)$.
A move is aslo considered as valid, where the Knight lands outside the chessboard [ For eg. from $(3,2)$ towards $(3,1)$ but ends up outside chess-board. ]
But once outside, it can't come back.
Question:
Knight starts from $(0,0)$. What is the Probability that a Knight stays on chessboard after N hops?
Expected Solution:
I don't want exact result like $ \frac{12}{64} $ but need your help on
a. the thought/procedure/methodology to find it with
b. A concluding formulae in terms of permutation/combination,
Well my thought:
After $(N-1)$th move, if the Kngiht is between $(x,y)$ where $3 \le x \le 6$ and $3 \le y \le 6$ then next move i.e $n$th move must ensure the knight will be within chessboard. Might be my thought is entirely wrong as it tries to find "must be within chessboard"
In any $5 \times 5$ sub part with Knight in middle, it has $8$ possible moves. If initial position is $(0,0)$ out of those $8$ it has choice of $2$ only satisfying "within chessboard" constraint. Next move I am lost! Please help me think .
Why cant we treat it like:
a. The question is valid only if N-1 moves already done with the Knight on board. b. Now to find Nth move s.t Knight hops out of board - say probability P(out) c. 1 - P(out) now gives the answer{ In Case b above we can use some stats like the following:
Legal moves -> L Illegal moves -> I 1. for 16 positions enclosed by {3c - 3f - 6c -6f} : 16 x 8 L 2. for each 4 positions {2b,2g,7b,7g} : 4L, 4I => 16L , 16I 3. for each 16 positions {7c-7f , 2c-2f, 3b-6b, 3g-6g } : 6L,2I => 96L,32I 4. for each 4 corners: 2L,6I => 8L, 24I 5. for each 8 positions {7a,8b , 8g,7h , 2h,1g , 1b,2a} : 3L,5I => 24L,40I 6. for each 16 positions {3a-6a , 3h-6h, 8c-8f, 1c-1f } : 4L,4I => 64L,64I}
