OFFSET
0,3
EXAMPLE
The a(3) = 26 pairs of such maps are (dots for zeros in the maps):
01: [ . . . ] [ . . . ]
02: [ . . . ] [ . . 1 ]
03: [ . . . ] [ . . 2 ]
04: [ . . . ] [ . 1 . ]
05: [ . . . ] [ . 1 1 ]
06: [ . . . ] [ . 1 2 ]
07: [ . . 1 ] [ . . . ]
08: [ . . 1 ] [ . . 1 ]
09: [ . . 1 ] [ . 1 2 ]
10: [ . . 2 ] [ . . . ]
11: [ . . 2 ] [ . . 2 ]
12: [ . . 2 ] [ . 1 . ]
13: [ . . 2 ] [ . 1 2 ]
14: [ . 1 . ] [ . . . ]
15: [ . 1 . ] [ . . 2 ]
16: [ . 1 . ] [ . 1 . ]
17: [ . 1 . ] [ . 1 2 ]
18: [ . 1 1 ] [ . . . ]
19: [ . 1 1 ] [ . 1 1 ]
20: [ . 1 1 ] [ . 1 2 ]
21: [ . 1 2 ] [ . . . ]
22: [ . 1 2 ] [ . . 1 ]
23: [ . 1 2 ] [ . . 2 ]
24: [ . 1 2 ] [ . 1 . ]
25: [ . 1 2 ] [ . 1 1 ]
26: [ . 1 2 ] [ . 1 2 ]
MAPLE
s:= proc(n) option remember; `if`(n=0, [[]],
map(x-> seq([x[], i], i=1..n), s(n-1)))
end:
a:= n-> (l-> add(add(`if`([seq(evalb(f[g[i]]=g[f[i]])
, i=1..n)]=[true$n], 1, 0), g=l), f=l))(s(n)):
seq(a(n), n=0..6); # Alois P. Heinz, Jul 30 2014
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Joerg Arndt, Jul 25 2014
EXTENSIONS
All terms corrected (error pointed out by Alois P. Heinz), Joerg Arndt, Jul 30 2014
a(10)-a(11) from Alois P. Heinz, Jul 30 2014
STATUS
approved