A284414 Number T(n,k) of self-avoiding planar walks of length k starting at (0,0), ending at (n,0), remaining in the first quadrant and using steps (0,1), (1,0), (1,1), (-1,1), and (1,-1) with the restriction that (0,1) is never used below the diagonal and (1,0) is never used above the diagonal; triangle T(n,k), n>=0, n<=k<=n*(n+3)/2, read by rows.
1, 1, 1, 2, 1, 1, 1, 4, 4, 4, 7, 3, 1, 1, 9, 8, 16, 21, 17, 15, 10, 9, 4, 1, 1, 21, 22, 54, 87, 87, 116, 99, 91, 78, 42, 31, 17, 10, 5, 1, 1, 51, 54, 178, 269, 370, 499, 536, 590, 560, 510, 420, 350, 268, 185, 132, 69, 44, 23, 11, 6, 1, 1
Offset: 0
Examples
Triangle T(n,k) begins: 1; . 1, 1; . . 2, 1, 1, 1; . . . 4, 4, 4, 7, 3, 1, 1; . . . . 9, 8, 16, 21, 17, 15, 10, 9, 4, 1, 1; . . . . . 21, 22, 54, 87, 87, 116, 99, 91, 78, 42, 31, 17, 10, 5, 1, 1;
Links
- Alois P. Heinz, Rows n = 0..50, flattened
- Alois P. Heinz, Animation of T(5,12)=91 walks
- Wikipedia, Lattice_path
- Wikipedia, Self-avoiding walk
Crossrefs
Formula
Sum_{k=n..n*(n+3)/2} (k+1) * T(n,k) = A284231(n).
Comments