OFFSET
0,5
COMMENTS
The matrix M(n) is the n-th principal submatrix of the rectangular array A143974.
det(M(0)) = 1, det(M(3)) = -1, and otherwise det(M(n)) = 0.
EXAMPLE
a(5) = 1422:
0 0 1 1 1
0 1 2 2 3
1 2 3 4 5
1 2 4 5 6
1 3 5 6 8
MATHEMATICA
a[n_]:=Permanent[Table[Floor[i j/3], {i, n}, {j, n}]]; Join[{1}, Array[a, 17]]
PROG
(Python)
from sympy import Matrix
def A358157(n): return Matrix(n, n, [i*j//3 for i in range(1, n+1) for j in range(1, n+1)]).per() if n else 1 # Chai Wah Wu, Nov 02 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Stefano Spezia, Nov 01 2022
STATUS
approved