返回题库

AIME 2018 II · 第 2 题

AIME 2018 II — Problem 2

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

Let a0=2a_{0} = 2, a1=5a_{1} = 5, and a2=8a_{2} = 8, and for n>2n > 2 define ana_{n} recursively to be the remainder when 44(an1a_{n-1} ++ an2a_{n-2} ++ an3a_{n-3}) is divided by 1111. Find a2018a2020a2022a_{2018} \cdot a_{2020} \cdot a_{2022}.

解析

Solution 1

When given a sequence problem, one good thing to do is to check if the sequence repeats itself or if there is a pattern.

After computing more values of the sequence, it can be observed that the sequence repeats itself every 10 terms starting at a0a_{0}.

a0=2a_{0} = 2, a1=5a_{1} = 5, a2=8a_{2} = 8, a3=5a_{3} = 5, a4=6a_{4} = 6, a5=10a_{5} = 10, a6=7a_{6} = 7, a7=4a_{7} = 4, a8=7a_{8} = 7, a9=6a_{9} = 6, a10=2a_{10} = 2, a11=5a_{11} = 5, a12=8a_{12} = 8, a13=5a_{13} = 5

We can simplify the expression we need to solve to a8a10a2a_{8}\cdot a_{10} \cdot a_{2}.

Our answer is 7287 \cdot 2 \cdot 8 =112= \boxed{112}.

Solution 2 (Overkill, but advantageous if numbers are bigger)

Notice that the characteristic polynomial of this is x34x24x40(mod11)x^3-4x^2-4x-4\equiv 0\pmod{11}

Then since x1x\equiv1 is a root, using Vieta's formula, the other two roots r,sr,s satisfy r+s3r+s\equiv3 and rs4rs\equiv4.

Let r=7+dr=7+d and s=7ds=7-d.

We have 49d2449-d^2\equiv4 so d1d\equiv1. We found that the three roots of the characteristic polynomial are 1,6,81,6,8.

Now we want to express ana_n in an explicit form as a(1n)+b(6n)+c(8n)(mod11)a(1^n)+b(6^n)+c(8^n)\pmod{11}.

Plugging in n=0,1,2n=0,1,2 we get

()(*)a+b+c2,a+b+c\equiv2,

()(**)a+6b+8c5,a+6b+8c\equiv5,

()(***)a+3b+9c8a+3b+9c\equiv8

()()2\frac{(***)-(*)}{2}    b+4c3\implies b+4c\equiv3 and ()()(***)-(**)    3b+c3\implies -3b+c\equiv3

so a6,a\equiv6, b1,b\equiv1, and c6c\equiv6

Hence, an6+(6n)+6(8n)(2)n(mod10)+(2)3n1(mod10)5(mod11)a_n\equiv 6+(6^n)+6(8^n)\equiv(2)^{-n\pmod{10}}+(2)^{3n-1\pmod{10}}-5\pmod{11}

Therefore

a20184+85=7a_{2018}\equiv4+8-5=7 a20201+65=2a_{2020}\equiv1+6-5=2 a20223+105=8a_{2022}\equiv3+10-5=8

And the answer is 7×2×8=1127\times2\times8=\boxed{112}