# Drawing a path

1. Jun 22, 2004

### TenNen

I have a matrix NxN (N small squares), I start to go from position (0,0) to (N,N) in which each edge passes from a square to either its right neighbor or its lower neighbor, and every square in the path if of the form (i,j)-the same as the position representation where j must be larger than i-1.
Can you draw me the path for me to go now ?

2. Jun 22, 2004

### Gokul43201

Staff Emeritus
(0,0) (0,1) (1,1) (1,2) (2,2) (2,3) (3,3) ...(n-1,n-1) (n-1,n) (n,n)

1 step down, 1 step right, 1 step down, 1 step right, 1 step down, 1 step right, ...
with (0,0) at top-left and (n,n) at bottom right.

3. Jun 22, 2004

### TenNen

Thank Gokul a lot, (smile)