login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A239781 Number of pairs of functions f, g from a size n set into itself satisfying f(g(x)) = f(f(g(x))). 1
1, 1, 12, 321, 15280, 1127745, 118507536, 16731979033, 3044595017472, 692050790547297, 191796657547052800, 63563842088104098081, 24793529117087476242432, 11232023076988690608825505, 5843573099019743656060348416, 3457799186387568447755745563625 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = Sum_{k=0..n} C(n,k) * Sum_{i=0..n-k} C(n-k,i) * k^i * (n-k-1)^(n-k-i) * (k+i)^n. - Alois P. Heinz, Jul 17 2014
MAPLE
a:= n-> add(binomial(n, k)*add(binomial(n-k, i)*k^i*
(n-k-1)^(n-k-i)*(k+i)^n, i=0..n-k), k=0..n):
seq(a(n), n=0..20); # Alois P. Heinz, Jul 17 2014
MATHEMATICA
Unprotect[Power]; 0^0 = 1; a[n_] := Sum[Binomial[n, k]*Sum[Binomial[n-k, i]*k^i*(n-k-1)^(n-k-i)*(k+i)^n, {i, 0, n-k}], {k, 0, n}]; Table[a[n], {n, 0, 20}] (* Jean-François Alcover, Feb 28 2017, after Alois P. Heinz *)
CROSSREFS
Cf. A000248.
Sequence in context: A277072 A080325 A083431 * A288032 A365280 A080141
KEYWORD
nonn
AUTHOR
Chad Brewbaker, Mar 26 2014
EXTENSIONS
a(6)-a(7) from Giovanni Resta, Mar 28 2014
a(8)-a(15) from Alois P. Heinz, Jul 17 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)