1998 AIME Problem 8

Below is the professionally curated solution for Problem 8 of the 1998 AIME, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 1998 AIME solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:Fibonaccirecursionbounding to limit cases

Difficulty rating: 2510

8.

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 encountered. What positive integer xx produces a sequence of maximum length?

Solution:

Computing terms, a3=1000x,a_3 = 1000 - x, a4=2x1000,a_4 = 2x - 1000, a5=20003x,a_5 = 2000 - 3x, a6=5x3000,a_6 = 5x - 3000, and in general a2k+1=1000F2k1xF2k,a2k+2=xF2k+11000F2k,a_{2k+1} = 1000 F_{2k-1} - x F_{2k}, \qquad a_{2k+2} = x F_{2k+1} - 1000 F_{2k}, where F1=F2=1,F_1 = F_2 = 1, F3=2,F_3 = 2, \ldots are the Fibonacci numbers. The sequence keeps going exactly as long as its terms stay nonnegative, so a long sequence requires x1000\frac{x}{1000} to be squeezed between the ratios F2kF2k+1\frac{F_{2k}}{F_{2k+1}} and F2k1F2k\frac{F_{2k-1}}{F_{2k}} for larger and larger k.k.

For the first 1313 terms to be nonnegative we need a12=89x550000a_{12} = 89x - 55000 \ge 0 and a13=89000144x0,a_{13} = 89000 - 144x \ge 0, i.e. 617.9x618.05,617.9\ldots \le x \le 618.05\ldots, so x=618.x = 618. If x617x \le 617 the sequence turns negative by a12,a_{12}, and if x619x \ge 619 it turns negative by a13,a_{13}, so every other integer gives a shorter sequence.

Indeed x=618x = 618 yields 1000,618,382,236,146,90,56,34,22,12,10,2,8,6,1000, 618, 382, 236, 146, 90, 56, 34, 22, 12, 10, 2, 8, -6, a sequence of 1414 terms, the maximum possible. The answer is 618.618.

← Problem 7Full ExamProblem 9

Problem 8 in Other Years