OFFSET
0,2
COMMENTS
As n goes to infinity, the probability that a node in such a graph has in-degree = 0 is 1/e^2. More generally, for 0<=k<=n, the probability that a node has in-degree = 0 in such a graph where the out-degree is restricted to be at most k is 1/e^k. Cf. A000169 where k=1 (partial functions) and A002416 where k=n.
FORMULA
a(n) = (Sum_{j=0..2} binomial(n,j))^n.
More generally, the number of labeled digraphs on n nodes with out-degree restricted to be at most k, 0<=k<=n, is given by: [Sum_{0<=j<=k} binomial(n,j)]^n.
From Ilya Gutkovskiy, Aug 11 2016: (Start)
a(n) = 2^(-n)*(n^2 + n + 2)^n.
a(n) = A000124(n)^n. (End)
MATHEMATICA
Table[Sum[Binomial[n, j], {j, 0, 2}]^n, {n, 0, 15}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Geoffrey Critzer, Aug 11 2016
STATUS
approved