返回题库

HMMT 十一月 2022 · GEN 赛 · 第 8 题

HMMT November 2022 — GEN Round — Problem 8

专题
Contest Math / 竞赛数学
难度
L3
来源
HMMT

题目详情

英文原题

  1. Compute the number of sets S such that every element of S is a nonnegative integer less than 16, andif x ∈ S then (2 x mod 16) ∈ S.
解析

英文解析

  1. Compute the number of sets S such that every element of S is a nonnegative integer less than 16, andif x ∈ S then (2 x mod 16) ∈ S.
    Proposed by: Vidur Jasuja
    Answer: 678
    Solution:
    4 128
    2 10 6 14
    1 9 5 13 3 11 7 15
    For any nonempty S we must have 0 ∈ S . Now if we draw a directed graph of dependencies amongthe non-zero elements, it creates a balanced binary tree where every leaf has depth 3. In the diagram,
    if a is a parent of b it means that if b ∈ S , then a must also be in S .
    We wish to find the number of subsets of nodes such that every node in the set also has its parent inthe set. We do this with recursion. Let f ( n ) denote the number of such sets on a balanced binary treeof depth n. If the root vertex is not in the set, then the set must be empty. Otherwise, we can considereach subtree separately. This gives the recurrence f ( n ) = f ( n − 1) + 1 . We know f (0) = 2, so we can 2
    calculate f (1) = 5 , f (2) = 26 , f (3) = 677 . We add 1 at the end for the empty set. Hence our answer isf (3) + 1 = 678 .