[go: up one dir, main page]

login
A239780
Number of pairs of functions f, g on a size n set into itself satisfying f(f(g(x))) = f(g(g(x))).
0
1, 1, 12, 279, 11128, 669605, 55937376, 6146973259
OFFSET
0,3
MAPLE
s:= proc(n, i) option remember; `if`(i=0, [[]],
map(x-> seq([j, x[]], j=1..n), s(n, i-1)))
end:
a:= proc(n) (l-> add(add(`if`([true$n]=[seq(evalb(
f[f[g[i]]]=f[g[g[i]]]), i=1..n)], 1, 0), g=l), f=l))(s(n$2))
end:
seq(a(n), n=0..5); # Alois P. Heinz, Jul 17 2014
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Chad Brewbaker, Mar 26 2014
EXTENSIONS
a(6)-a(7) from Giovanni Resta, Mar 28 2014
STATUS
approved