A369892 Array read by antidiagonals: T(m, n) is the number of m X n binary arrays with a path of adjacent 1's from top row to bottom row using only left, right, and downward steps.
1, 3, 1, 7, 7, 1, 15, 37, 17, 1, 31, 175, 197, 41, 1, 63, 781, 1985, 1041, 99, 1, 127, 3367, 18621, 22193, 5503, 239, 1, 255, 14197, 167337, 433801, 247759, 29089, 577, 1, 511, 58975, 1461797, 8057625, 10056087, 2764991, 153769, 1393, 1, 1023, 242461, 12519345, 144762849, 384409519, 232777209, 30856705, 812849, 3363, 1
Offset: 1
Examples
For the 37 2 X 3 grids, see A359576. The following 4 X 5 grid is a counterexample that is counted by A359576 but not by the present sequence: 10000 10111 11101 00001 Notice that there is a path of 1s from the top to the bottom, but only via the upward step detour in the third column. There are 8 such 4 X 5 grids, formed from the above by reflection and by toggling the first row, second column and last row, second to last column. Table starts: 1 3 7 15 31 63 127 ... 1 7 37 175 781 3367 14197 ... 1 17 197 1985 18621 167337 1461797 ... 1 41 1041 22193 433801 8057625 144762849 ... 1 99 5503 247759 10056087 384409519 ... 1 239 29089 2764991 232777209 ... 1 577 153769 30856705 ... 1 1393 812849 ... 1 3363 ... 1 ... ...
Links
- Caleb Stanford, Rust program to compute the sequence.
Comments