cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Previous Showing 11-11 of 11 results.

A380392 Irregular triangle read by rows: T(n,k) is the number of n X n binary matrices containing k South-East paths of 1's connecting the top left and bottom right corners.

Original entry on oeis.org

1, 1, 1, 13, 2, 1, 461, 26, 13, 8, 1, 2, 1, 61708, 1454, 953, 568, 325, 112, 178, 76, 22, 46, 48, 2, 16, 4, 4, 8, 8, 0, 1, 2, 1, 32348492, 340768, 279142, 168300, 125121, 44436, 81857, 24666, 25375, 28182, 19759, 4476, 17477, 4334, 7123, 6436, 4314, 1708, 5534
Offset: 0

Views

Author

John Tyler Rascoe, Jan 23 2025

Keywords

Comments

A South-East path of 1's in a binary matrix is a path of connected 1's with steps South (0,-1) and East (1,0). Here 1's are said to be connected if they are adjacent in the same row or column.
Conjecture: The average number of South-East paths of 1's in all n X n binary matrices is A001790(n-1)/A101926(n-1). - John Tyler Rascoe, Feb 21 2025

Examples

			Triangle begins:
     k=0   1   2  3  4  5  6
 n=0   1;
 n=1   1,  1;
 n=2  13,  2,  1;
 n=3 461, 26, 13, 8, 1, 2, 1;
 ...
For row n = 3 the possible South-East paths are:
 A.       B.       C.       D.       E.       F.
 [1 1 1]  [1 1 0]  [1 1 0]  [1 0 0]  [1 0 0]  [1 0 0]
 [0 0 1]  [0 1 1]  [0 1 0]  [1 1 1]  [1 1 0]  [1 0 0]
 [0 0 1]  [0 0 1]  [0 1 1]  [0 0 1]  [0 1 1]  [1 1 1]
The 3 X 3 matrix below does not contain any of the paths A-F so it is counted under T(3,0) = 461.
 [1 0 1]
 [1 1 1]
 [1 0 0]
The 3 X 3 matrix below contains paths A, B, and D so it is counted under T(3,3) = 8.
 [1 1 1]
 [1 1 1]
 [1 0 1]
		

Crossrefs

Cf. A000984 (row lengths), A001790, A002416 (row sums), A086266, A101926, A261242, A369285.

Programs

  • Python
    # see links
Previous Showing 11-11 of 11 results.