返回题库

AIME 1998 · 第 8 题

AIME 1998 — Problem 8

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

Except for the first two terms, each term of the sequence 1000,x,1000x,1000, x, 1000 - x,\ldots is obtained by subtracting the preceding term from the one before that. The last term of the sequence is the first negative term encounted. What positive integer xx produces a sequence of maximum length?

解析

Solution

The best way to start is to just write out some terms.

0

1

2

3

4

5

6

1000\quad 1000 \quadaa

x\quad x \quadaaa

1000x1000 - x

2x10002x - 1000a

20003x2000 - 3x 5x30005x - 3000 50008x5000 - 8x

It is now apparent that each term can be written as

  • n0(mod2)Fn11000Fnxn \equiv 0 \pmod{2}\quad\quad F_{n-1}\cdot 1000-F_n\cdot x
  • n1(mod2)FnxFn11000n \equiv 1 \pmod{2}\quad\quad F_{n}\cdot x-F_{n-1}\cdot 1000

where the FnF_{n} are Fibonacci numbers. This can be proven through induction.

Solution 1

We can start to write out some of the inequalities now:

  1. x>0x > 0
  2. 1000x>0x<10001000 - x > 0 \Longrightarrow x < 1000
  3. 2x1000>0x>5002x - 1000 > 0 \Longrightarrow x > 500
  4. 20003x>0x<666.62000 - 3x > 0 \Longrightarrow x < 666.\overline{6}
  5. 5x3000>0x>6005x - 3000 > 0 \Longrightarrow x > 600

And in general,

  • n0(mod2)x<Fn1Fn1000n \equiv 0 \pmod{2}\quad\quad x < \frac{F_{n-1}}{F_n} \cdot 1000
  • n1(mod2)x>Fn1Fn1000n \equiv 1 \pmod{2}\quad\quad x > \frac{F_{n-1}}{F_{n}} \cdot 1000

It is apparent that the bounds are slowly closing in on xx, so we can just calculate xx for some large value of nn (randomly, 10, 11):

x<F9F101000=34551000=618.18x < \frac{F_{9}}{F_{10}} \cdot 1000 = \frac{34}{55} \cdot 1000 = 618.\overline{18} x>F10F111000=55891000617.977x > \frac{F_{10}}{F_{11}} \cdot 1000 = \frac{55}{89} \cdot 1000 \approx 617.977

Thus the sequence is maximized when x=618.x = \boxed{618}.

Solution 2

It is well known that limnFn1Fn=ϕ1=1+521.61803\lim_{n\rightarrow\infty} \frac{F_{n-1}}{F_n} = \phi - 1 =\frac{1 + \sqrt{5}}{2} - 1 \approx .61803, so 1000Fn1Fn1000 \cdot \frac{F_{n-1}}{F_n} approaches x=618.x = \boxed{618}.