|
|
A204438
|
|
Permanent of the n-th principal submatrix of A204437.
|
|
4
|
|
|
1, 0, 1, 2, 4, 20, 80, 288, 2016, 12096, 67392, 597888, 4783104, 35942400, 389145600, 3891456000, 36910080000, 472283136000, 5667397632000, 64963067904000, 959814696960000, 13437405757440000, 180681897811968000, 3028176742219776000, 48450827875516416000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
COMMENTS
|
Also the number of permutations pi in S_n such that pi(i) + i != 2 (mod 3) for all i. - Peter Kagey, Jan 25 2021
|
|
LINKS
|
|
|
MATHEMATICA
|
f[i_, j_] := Mod[(1 + i + j)^2, 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, 14}, {i, 1, n}]] (* A204437 *)
Join[{1}, Table[Permanent[m[n]], {n, 1, 22}]] (* A204438 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|