返回题库

PUMaC 2008 · 团队赛 · 第 10 题

PUMaC 2008 — Team Round — Problem 10

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

题目详情

(7分) 设序列 s0=(1,2008)s_0=(1,2008)。归纳定义 sis_i 为在 si−1s_{i-1} 中每对相邻项之间插入它们的和——例如 s1=(1,2009,2008)s_1=(1,2009,2008)。对某个 nn,sns_n 恰好有一项出现两次。求这个重复的项。

英文原题

  1. (7 points) Consider the sequence s0s_{0} = (1, 2008). Define new sequences sis_{i} inductively by inserting
    the sum of each pair of adjacent terms in si−1s_{i-1} between them—for instance, s1s_{1} = (1, 2009, 2008).
    For some n, sns_{n} has exactly one term that appears twice. Find this repeated term.
    2
解析

英文解析

Instead of starting with 1 and 2008, use ordered pairs (1,0) and (0,1). (In s2s_{2}, for instance, you
have (1,0),(2,1),(1,1),(1,2),(0,1).) By induction, after n iterations the greatest number that
appears in any ordered pair is Fn+1F_{n+1}. Two pairs ( a, b ) and ( c, d ) correspond to the same integers iff
2008( a − c ) + 1( b − d ) = 0, so to have equal pairs we need some element at least 2008 (we never
get the same pair twice because, if we view each ordered pair ( a, b ) as a fraction a/b, they’re
strictly decreasing). Since F17=1F_{17}=1597 < 2008, we need at least 17 iterations.
Note that by induction, if n is the sum of the coefficients of the continued fraction expansion of
a/b, then ( a, b ) first appears in sns_{n}. Hence (2351, 898) first appears in s17s_{17}, and (343, 899) first
appears in s16s_{16}, since their continued fraction expansions are (2;1,1,1,1,1,1,1,1,1,1,1,2,1,1) and
(0;2,1,1,1,1,1,3,3,1,1,1), respectively. These both correspond to 1805535, so that’s the answer.
The continued fraction expansions also give a clue how to find these (the following section will be
most useful for readers who’ve already played around with the sequences): if ( a, b ) and ( c, d ) are
the above integers, we saw above that we needed a close to the maximum possible, which occurs
only if a ≈ φb or a ≈ φ^{2} b. Hence we must have either ( a, b, c, d ) ≈ ( φb, b, φb − 2008, b + 1) or
( a, b, c, d ) ≈ ( φ^{2} b, b, φ^{2} b − 2008, b + 1). Experimentation shows that we also want^{d}{c} to be
approximately φ or φ^{2}; of these cases the minimum value of b occurs when^{a}
{b} ≈^{d}{c} ≈ φ^{2}. In this
2008 φ^{2} − 1
case,bφ2b\frac{b}{φ2b}
{−}^{+1}{2008} ≈ φ^{2} gives b ≈{φ4-1} ≈ 898. In that case, a ≈ 2351, c ≈ 343, and d ≈ 899, and in
fact these values work.
All of the above was done by hand; proving that there is only one repeated value in s2007s_{2007} required
a computer search.
Thanks to Mathew Crawford for his contribution.