Take a test Sign in 中文
← Exercise 921 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Digits (38)
Primes (31)
Fractions, Decimals, and the Floor Function (18)
Divisors, GCD, and LCM (36)
Divisibility (59)
Bases (15)
Modular Arithmetic (42)
Integer Equations (27)

Exercises and their solutions

Exercise 921
Let $L_1=1$, $L_2=3$, and $L_{n+2}=L_{n+1}+L_n$ for $n\ge1$. How many terms in the sequence $L_1,L_2,\dots,L_{2023}$ are multiples of $3$?
← Back to Problem 921
Solution
  1. Mod $3$ the sequence is $1,0,1,1,2,0,2,2,1,0,\ldots$; since the pair $1,0$ repeats, it has period $8$.
  2. In each period the zeros are at positions $2$ and $6$, so $L_n$ is a multiple of $3$ exactly when $n\equiv2\pmod4$.
  3. $n=2,6,\dots,2022$: $\frac{2022-2}4+1=\boxed{506}$ terms.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year