Maths Olympiad Prep

Library / /13 of 13

Algebra Difficulty 5.6 AIME, harder Prove it United States

Problem:

The numbers 1,8,4,01, 8, 4, 0 are the first four terms of the infinite sequence. Every subsequent term of the sequence is obtained as the last digit of the sum of previous four terms. Therefore the fifth term of the sequence is 33, because 1+8+4+0=131+8+4+0=13; the sixth term is 55 because 8+4+0+3=158+4+0+3=15, and so on.

a. Will 2,0,0,72, 0, 0, 7 ever appear as a subsequence?

b. Will 1,8,4,01, 8, 4, 0 appear again as a subsequence?

Explain your answer!

Solution

Solution:

a. Yes, very soon, in fact the next four terms (from 77 to 1010th) are 2,0,0,72, 0, 0, 7.

b. We will prove that 1,8,4,01, 8, 4, 0 will be a subsequence again. Assume the contrary. Since there are only finitely many combinations of four digits (precisely 10410^4), and the sequence is infinite, some combination of four digits (say (a,b,c,d)(a, b, c, d)) has to reappear. Assume that (xn,xn+1,xn+2,xn+3)=(a,b,c,d)(x_n, x_{n+1}, x_{n+2}, x_{n+3}) = (a, b, c, d) is the first occurrence of (a,b,c,d)(a, b, c, d) and that (xm,xm+1,xm+2,xm+3)=(a,b,c,d)(x_m, x_{m+1}, x_{m+2}, x_{m+3}) = (a, b, c, d) is the second. Clearly m>nm > n. However, xn1x_{n-1} and xm1x_{m-1} are uniquely determined and they have to be the same numbers. Thus xn1=xm1x_{n-1} = x_{m-1}, xn2=xm2x_{n-2} = x_{m-2}, and so on. This means that x1=xmn+1x_1 = x_{m-n+1}, x2=xmn+2x_2 = x_{m-n+2}, x3=xmn+3x_3 = x_{m-n+3}, and x4=xmn+4x_4 = x_{m-n+4}, which is a contradiction.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.