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!)
A246217 Number of endofunctions on [n] where the largest cycle length equals 7. 2

%I #6 Aug 21 2014 04:33:18

%S 720,46080,2099520,86400000,3478701600,141893959680,5963619055680,

%T 260480095349760,11874161338182000,565994948205772800,

%U 28225084763940704640,1472185000741804277760,80257688278285346487360,4568639693232433397760000,271256500003796168962953600

%N Number of endofunctions on [n] where the largest cycle length equals 7.

%H Alois P. Heinz, <a href="/A246217/b246217.txt">Table of n, a(n) for n = 7..200</a>

%F a(n) ~ (7*exp(363/140) - 6*exp(49/20)) * n^(n-1). - _Vaclav Kotesovec_, Aug 21 2014

%p with(combinat):

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

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

%p b(n-i*j, i-1), j=0..n/i)))

%p end:

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

%p a:= n-> A(n, 7) -A(n, 6):

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

%Y Column k=7 of A241981.

%K nonn

%O 7,1

%A _Alois P. Heinz_, Aug 19 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 July 20 06:10 EDT 2024. Contains 374441 sequences. (Running on oeis4.)