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!)
A246525 Number of endofunctions on [n] whose cycle lengths are divisors of 5. 2

%I #5 Aug 28 2014 17:13:11

%S 1,1,3,16,125,1320,17671,286336,5436153,118144000,2889312875,

%T 78480441216,2343333279157,76274737767424,2687742759243375,

%U 101931212748928000,4139544785141163761,179235455194948829184,8242391462093927638867,401202300756829929472000

%N Number of endofunctions on [n] whose cycle lengths are divisors of 5.

%H Alois P. Heinz, <a href="/A246525/b246525.txt">Table of n, a(n) for n = 0..350</a>

%F E.g.f.: exp(Sum_{d|5} (-LambertW(-x))^d/d).

%p with(numtheory):

%p egf:= k-> exp(add((-LambertW(-x))^d/d, d=divisors(k))):

%p a:= n-> n!*coeff(series(egf(5), x, n+1), x, n):

%p seq(a(n), n=0..25);

%p # second Maple program:

%p with(combinat):

%p b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,

%p add(multinomial(n, n-i*j, i$j)/j!*b(n-i*j, i-1)*

%p (i-1)!^j, j=0..`if`(irem(5, i)=0, n/i, 0))))

%p end:

%p a:= n-> add(b(j, min(5, j))*n^(n-j)*binomial(n-1, j-1), j=0..n):

%p seq(a(n), n=0..25);

%Y Column k=5 of A246522.

%K nonn

%O 0,3

%A _Alois P. Heinz_, Aug 28 2014

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 18 14:46 EDT 2024. Contains 371780 sequences. (Running on oeis4.)