2022 Team P14
Source:
February 28, 2022
team
Problem Statement
Let a tree on vertices be -nice if the following conditions hold:
[*] colors are assigned to the nodes of the tree
[*] for the first colors, there will be exactly nodes of color
[*] the root node of the tree will be the unique node of color . \item the -nice trees must also satisfy the condition that for any two non-root nodes , if the color of equals the color of , then the color of the parent of equals the color of the parent of .
[*] Nodes of the same color are considered indistinguishable (swapping any two of them results in the same tree).Let denote the number of -nice trees with leaves. Note that . Compute the remainder when is divided by .Definition: Any rooted, ordered tree consists of some set of nodes, each of which has a (possibly empty) ordered list of children. Each node is the child of exactly one other node, with the exception of the root, which has not parent. There also cannot be any cycles of nodes which are all linearly children of each other.Proposed by Advait Nene