返回题库

HMMT 二月 2023 · 冲刺赛 · 第 22 题

HMMT February 2023 — Guts Round — Problem 22

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

题目详情

英文原题

  1. [18] Let a , a , a , . . . be an infinite sequence where each term is independently and uniformly random
    0 1 2
    in the set { 1 , 2 , 3 , 4 } . Define an infinite sequence b , b , b , . . . recursively by b = 1 and b = a .ib
    0 1 2 0 i +1
    Compute the expected value of the smallest positive integer k such that b ≡ 1 (mod 5).ik
解析

英文解析

  1. [18] Let a , a , a , . . . be an infinite sequence where each term is independently and uniformly random
    0 1 2
    in the set { 1 , 2 , 3 , 4 } . Define an infinite sequence b , b , b , . . . recursively by b = 1 and b = a .ib
    0 1 2 0 i +1
    Compute the expected value of the smallest positive integer k such that b ≡ 1 (mod 5).ik
    Proposed by: Raymond Feng
    Answer:35
    Solution: Do casework on what a is.16
    If a = 1 then k = 1.0
    If a = 4 then k = 2.0
    If a = 3 then 0
    • if a = 1, then k = 20
    • if a = 2 or 4, then k = 31
    • if a = 3, then you make no progress.1
    so in expectation it requires E = (2 + 3 + ( E + 1) + 3) / 4 = ⇒ E = 3.1
    If a = 2 then
    • if a = 1 or 4, then k = 20
    • if a = 2, then k = 31
    • if a = 3, then it can be checked that if a = 1 we get k = 3, if a = 2 or 4 then k = 4, and 1
    1 2 2
    if a = 3 then we make no progress. Thus, this case is equivalent to the case of a = 3 except
    2 0
    shifted over by one, so it is 3 + 1 = 4 in expectation.
    So this case is (2 + 3 + 4 + 2) / 4 in expectation.
    This means the answer is (1 + (11 / 4) + 3 + 2) / 4 = 35 / 16.