OFFSET
1,3
LINKS
Wikipedia, Toeplitz Matrix
EXAMPLE
The triangle begins:
1;
0, 2;
0, 0, 6;
0, 0, 0, 24;
0, 0, 0, 0, 120;
0, 0, 0, 0, 2, 718;
0, 0, 0, 0, 0, 4, 5036;
...
MATHEMATICA
T[n_, k_]:= Count[Table[MatrixRank[ToeplitzMatrix[Part[Permutations[Prime[Range[n]]], i]]], {i, n!}], k]; Table[T[n, k], {n, 8}, {k, n}]//Flatten
PROG
(PARI)
MkMat(v)={matrix(#v, #v, i, j, v[1+abs(i-j)])}
row(n)={my(f=vector(n)); forperm(vector(n, i, prime(i)), v, f[matrank(MkMat(v))]++); f} \\ Andrew Howroyd, Dec 31 2023
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Stefano Spezia, Jul 14 2023
EXTENSIONS
Terms a(46) and beyond from Andrew Howroyd, Dec 31 2023
STATUS
approved