Question 211
Define a sequence recursively by $F_0 = 0$, $F_1 = 1$, and $F_n = \text{the remainder when } F_{n-1} + F_{n-2} \text{ is divided by } 3$, for all $n \geqslant 2$. Thus the sequence starts $0, 1, 1, 2, 0, 2, \dots$. What is $F_{2017} + F_{2018} + F_{2019} + F_{2020} + F_{2021} + F_{2022} + F_{2023} + F_{2024}$?
Xem đáp án và lời giải
Đáp án: $9$
We compute the first few terms of the sequence modulo $3$: \[ F_0 = 0, \quad F_1 = 1, \quad F_2 = 1, \quad F_3 = 2, \quad F_4 = 0, \quad F_5 = 2, \quad F_6 = 2, \quad F_7 = 1, \quad F_8 = 0, \quad F_9 = 1, \dots \] Since $(F_8, F_9) = (0, 1) = (F_0, F_1)$, the sequence is strictly periodic with period $8$: \[ (0, 1, 1, 2, 0, 2, 2, 1). \] Any sum of $8$ consecutive terms of the sequence contains exactly one complete period: \[ 0 + 1 + 1 + 2 + 0 + 2 + 2 + 1 = 9. \] Therefore, the sum of any $8$ consecutive terms, in particular $F_{2017} + F_{2018} + \dots + F_{2024}$, is $9$.