%I #22 Jan 31 2021 10:24:32
%S 1,1,1,2,6,20,80,384,2016,12096,82080,597888,4783104,41886720,
%T 389145600,3891456000,41803776000,472283136000,5667397632000,
%U 72153317376000,959814696960000,13437405757440000,197840194965504000,3028176742219776000,48450827875516416000
%N Permanent of the n-th principal submatrix of A204439.
%C Also the number of permutations pi in S_n such that pi(i) + i != 1 (mod 3) for all i. - _Peter Kagey_, Jan 25 2021
%t f[i_, j_] := Mod[(2 + i + j)^2, 3];
%t m[n_] := Table[f[i, j], {i, 1, n}, {j, 1, n}]
%t TableForm[m[8]] (* 8x8 principal submatrix *)
%t Flatten[Table[f[i, n + 1 - i],
%t {n, 1, 14}, {i, 1, n}]] (* A204439 *)
%t Join[{1},Table[Permanent[m[n]], {n, 1, 22}]] (* A204440 *)
%Y Cf. A204239, A204435.
%K nonn
%O 0,4
%A _Clark Kimberling_, Jan 15 2012
%E Typo in name corrected by _Michel Marcus_, Nov 11 2016
%E a(0) and a(23)-a(24) from _Pontus von Brömssen_, Jan 29 2021