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!)
A219530 Number of functions f:{1,2,...,n}->{1,2,...,n} such that each component of f is a function on an interval of {1,2,...,n}. 0
1, 1, 4, 24, 195, 2046, 26752, 422546, 7849611, 167781117, 4054557471, 109246333917, 3245641491658, 105366022410057, 3709933487122164, 140791348680766521, 5728108758307500165, 248696925989154108462, 11476424805495560002162, 560894026563924188981599, 28941826672247857117927894 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Here, a component of f is a weakly connected component of its functional digraph.
LINKS
FORMULA
G.f.: 1/ (1 - A(x)) where A(x) is the o.g.f. for A001865.
EXAMPLE
a(3)=24 because there are 27 functions f:{1,2,3}->{1,2,3} but three of these are not counted: 1->3 2->2 3->3; 1->3 2->2 3->1; 1->1 2->2 3->1.
MATHEMATICA
nn=20; t= Sum[n^(n-1)x^n/n!, {n, 1, nn}]; a=Range[0, nn]! CoefficientList[Series[Log[1/(1-t)], {x, 0, nn}], x]; b=Sum[a[[i]]x^(i-1), {i, 1, nn+1}]; CoefficientList[Series[1/(1-b), {x, 0, nn}], x]
CROSSREFS
Sequence in context: A007145 A241000 A305988 * A291819 A101370 A201338
KEYWORD
nonn
AUTHOR
Geoffrey Critzer, Nov 21 2012
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 July 18 01:34 EDT 2024. Contains 374377 sequences. (Running on oeis4.)