A253281 Triangular array read by rows: T(h,k) = number of steps from (h,k) to (0,0), where allowable steps are as follows: (x,y) -> (x-r, y) if r > 0, and (x,y) -> (y, r/3) otherwise, where r = x mod 3.
0, 1, 2, 1, 3, 2, 3, 3, 3, 4, 4, 4, 3, 5, 5, 4, 5, 4, 5, 6, 5, 3, 5, 5, 5, 6, 6, 4, 4, 4, 5, 6, 6, 6, 5, 5, 4, 5, 4, 6, 7, 6, 5, 6, 5, 5, 5, 5, 5, 7, 7, 5, 6, 6, 6, 6, 6, 5, 6, 6, 7, 6, 6, 6, 7, 7, 6, 7, 6, 6, 7, 6, 6, 7, 6, 7, 8, 7, 6, 7, 7, 6, 7, 7, 5, 7
Offset: 1
Examples
First ten rows: 0 1 2 1 3 2 3 3 3 4 4 4 3 5 5 4 5 4 5 6 5 3 5 5 5 6 6 4 4 4 5 6 6 6 5 5 4 5 4 6 7 6 5 6 5 5 5 5 5 7 7 5 6 6 6 Row 3 counts the pairs (2,0), (1,1), (0,2), for which the paths are as shown here: (2,0) -> (0,0) (1 step) (1,1) -> (0,1) -> (1,0) -> (0,0) (3 steps) (0,2) -> (2,0) -> (0,0) (2 steps)
Links
- Clark Kimberling, Table of n, a(n) for n = 1..1000
Comments