cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A239774 Number of pairs of functions f, g from a size n set into itself satisfying f(f(g(x))) = f(f(f(x))).

Original entry on oeis.org

1, 1, 10, 285, 14176, 1034145, 105764256, 14367333421
Offset: 0

Views

Author

Chad Brewbaker, Mar 26 2014

Keywords

Crossrefs

Programs

  • 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) local l; l:= s(n$2);
           add(add(`if`([seq(evalb(f[f[g[i]]]=f[f[f[i]]]),
           i=1..n)]=[true$n], 1, 0), g=l), f=l)
        end:
    seq(a(n), n=0..5); # Alois P. Heinz, Jul 16 2014

Extensions

a(6)-a(7) from Giovanni Resta, Mar 28 2014