login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

a(n) is the number of labeled rooted trees on a set of size n where each node has at most 7 neighbors that are further away from the root than the node itself.
1

%I #8 Dec 21 2024 17:51:31

%S 0,1,2,9,64,625,7776,117649,2097152,43046712,999999180,25937373990,

%T 743005653984,23297946618804,793707788417544,29192570114517810,

%U 1152902963147295360,48660197610533102880,2185856466420637543104,104124189019562479248624,5242691958381764070687360

%N a(n) is the number of labeled rooted trees on a set of size n where each node has at most 7 neighbors that are further away from the root than the node itself.

%C A preimage constraint on a function is a set of nonnegative integers such that the size of the inverse image of any element is one of the values in that set. View a labeled rooted tree as an endofunction on the set {1,2,...,n} by sending every non-root node to its neighbor that is closer to the root and sending the root to itself. Thus, a(n) is the number of endofunctions on a set of size n with exactly one cyclic point and such that each preimage has at most 7 entries.

%H B. Otto, <a href="https://arxiv.org/abs/1903.00542">Coalescence under Preimage Constraints</a>, arXiv:1903.00542 [math.CO], 2019, Corollaries 5.3 and 7.8.

%F a(n) = (n-1)! * [x^(n-1)] e_7(x)^n, where e_k(x) is the truncated exponential 1 + x + x^2/2! + ... + x^k/k!. The link above yields explicit constants c_k, r_k so that the columns are asymptotically c_7 * n^(-3/2) * r_7^-n.

%o (Python)

%o # print first num_entries entries in the sequence

%o import math, sympy; x=sympy.symbols('x')

%o k=7; num_entries = 64

%o P=range(k+1); eP=sum([x**d/math.factorial(d) for d in P]); r = [0,1]; curr_pow = eP

%o for term in range(1,num_entries-1):

%o curr_pow=(curr_pow*eP).expand()

%o r.append(curr_pow.coeff(x**term)*math.factorial(term))

%o print(r)

%Y Column k=7 of A325201; see that entry for sequences related to other preimage constraints constructions.

%K easy,nonn

%O 0,3

%A _Benjamin Otto_, Apr 11 2019