|
EXAMPLE
|
For n=2, there are 2 walks of length 4 where the diagonal steps (1,1) and (-1,-1) occur zero times [(1,0),(1,0),(-1,0),(-1,0)] and [(1,0),(-1,0),(1,0),(-1,0)];
7 walks where the diagonal steps occur once [(1,0),(-1,0),(1,1),(-1,-1)], [(1,1),(-1,-1),(1,0),(-1,0)], [(1,0),(1,1),(-1,0),(-1,-1)], [(1,0),(1,1),(-1,-1),(-1,0)],
[(1,1),(1,0),(-1,0),(-1,-1)], [(1,1),(1,0),(-1,-1),(-1,0)], [(1,1),(-1,0),(1,0),(-1,-1)];
and finally 2 walks where the diagonal steps occur twice [(1,1),(1,1),(-1,-1),(-1,-1)] and [(1,1),(-1,-1),(1,1),(-1,-1)].
|