|
|
A204258
|
|
Permanent of the n-th principal submatrix of A204257.
|
|
3
|
|
|
1, 1, 7, 54, 346, 3732, 50928, 636288, 10421856, 204446592, 3783985632, 84204904320, 2154137877504, 52813565568000, 1488803964595200, 46983956781312000, 1434084567201792000, 48976637440702464000, 1838658764187353088000, 67159997418955456512000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
MATHEMATICA
|
f[i_, j_] := 1 + Mod[i + 2 j, 3];
m[n_] := Table[f[i, j], {i, 1, n}, {j, 1, n}]
TableForm[m[8]] (* 8x8 principal submatrix *)
Flatten[Table[f[i, n + 1 - i],
{n, 1, 12}, {i, 1, n}]] (* A204257 *)
Join[{1}, Table[Permanent[m[n]], {n, 1, 20}]] (* A204258 *)
|
|
PROG
|
(PARI) a(n) = matpermanent(matrix(n, n, i, j, 1 + ((i+2*j) % 3))); \\ Michel Marcus, Jan 30 2021
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|