OFFSET
0,3
COMMENTS
The matrix M(n) is the n-th principal submatrix of the rectangular array A143976 and it is singular for n > 3.
EXAMPLE
a(5) = 374216:
1 2 2 3 4
2 3 4 6 7
2 4 6 8 10
3 6 8 11 14
4 7 10 14 17
MATHEMATICA
Join[{1}, Table[Permanent[Table[i*j-Floor[i*j/3], {i, n}, {j, n}]], {n, 17}]]
PROG
(Python)
from sympy import Matrix
def A358159(n): return Matrix(n, n, [i*j-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