OFFSET
0,2
LINKS
EXAMPLE
a(3) = 1377:
1, 2, 3, 4, 5, 6;
2, 4, 6, 8, 1, 3;
3, 6, 9, 3, 6, 9;
4, 8, 3, 7, 2, 6;
5, 1, 6, 2, 7, 3;
6, 3, 9, 6, 3, 9.
MATHEMATICA
M[i_, j_, n_] := If[i*j == 0, 0, 1 + Mod[i*j - 1, 9]]; a[n_] := Sum[Product[M[Part[PermutationList[s, 2 n], 2 i - 1], Part[PermutationList[s, 2 n], 2 i], 2 n], {i, n}], {s, SymmetricGroup[2 n] // GroupElements}]/(n!*2^n); Array[a, 6, 0]
CROSSREFS
KEYWORD
nonn,base,hard,more
AUTHOR
Stefano Spezia, Sep 27 2022
EXTENSIONS
a(6)-a(10) from Pontus von Brömssen, Oct 15 2023
STATUS
approved