Okay, I've gone over my hand-drawings of the 47 endofunctions with n=5
nodes, and made a table of the indegree partitions. Might take too
long, and be too error prone, fdor me to type the whole table
here.  So I'll skip to column sums.<br>
<br>
There are:<br>
76 nodes of indegree 0, <br>
106 nodes of indegree 1,<br>
35 nodes of indegree 2,<br>
14 nodes of indegree 3,<br>
3 nodes of indegree 4,<br>
1 node of indegree 5.<br>
-------------------------------<br>
235 total = 46*5, that checks.<br>
<br>
Weighted Mean indegree:<br>
(76*0 + 106*1 + 35*2 + 14*3 + 3*4 + 1*5)/47<br>
= (106 + 70 + 42 + 12 + 5)/47 = 235/47 = 5, that checks.<br>
<br>
The total number of preimages (predecessor nodes) is 159, since 159 + 76 = 235.<br>
<br>
The number of 5-endofunctions with<br>
max indegree of 0 is 0,<br>
max indegree of 1 is 7,<br>
max indegree of 2 is 22,<br>
max indegree of 3 is 14,<br>
max indegree of 4 is 3,<br>
max indegree of 5 is 1.<br>
<br>
Do those agree with your calculations, or should I take yet another look?<br>
<br>
<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br><br>

</blockquote></div><br>