OFFSET
1,3
LINKS
Wikipedia, Toeplitz Matrix
EXAMPLE
The triangle begins:
1;
0, 2;
0, 0, 6;
0, 0, 1, 23;
0, 0, 0, 0, 120;
0, 0, 0, 0, 2, 718;
0, 0, 0, 0, 4, 31, 5005;
0, 0, 0, 0, 0, 2, 44, 40274;
0, 0, 0, 0, 0, 0, 4, 284, 362592;
...
MATHEMATICA
T[n_, k_]:= Count[Table[MatrixRank[ToeplitzMatrix[Part[Permutations[Join[{0}, Range[n-1]]], i]]], {i, n!}], k]; Join[{1}, Table[T[n, k], {n, 2, 9}, {k, n}]]//Flatten
PROG
(PARI)
MkMat(v)={matrix(#v, #v, i, j, v[1+abs(i-j)])}
row(n)={if(n==1, [1], my(f=vector(n)); forperm(vector(n, i, i-1), v, f[matrank(MkMat(v))]++); f)} \\ Andrew Howroyd, Jan 07 2024
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Stefano Spezia, Aug 08 2023
EXTENSIONS
Terms a(46) and beyond from Andrew Howroyd, Jan 07 2024
STATUS
approved