OFFSET
0,3
FORMULA
a(n) = A035481(n) * n!. [From Max Alekseyev, Apr 23 2010]
EXAMPLE
a(3) = 6 because the first row is arbitrary (say, 213) and the rest is then determined. By symmetry the second row has to be 132 or 123 but in order for the third row/column to work it has to be 132.
CROSSREFS
KEYWORD
more,nonn
AUTHOR
Joshua Zucker and Joe Keane
EXTENSIONS
a(10)-a(13) (using A035481) from Alois P. Heinz, May 05 2023
STATUS
approved