2000 AMC 10 Problem 6
The Fibonacci sequence starts with two 1s, and each term afterwards is the sum of its two predecessors. Which one of the ten digits is the last to appear in the units position of a number in the Fibonacci sequence?
Show solution without answering
Key insight
Only the last digits matter. Build the list of last digits by adding the previous two and keeping the ones digit, and check off each digit when it first appears.
Solution
1. The Fibonacci numbers get big fast, but we only care about the last digit. The last digit of a sum depends only on the last digits of the two numbers added. For example, , and already tells us the last digit.
2. So work with last digits only. Each new digit is the sum of the previous two, keeping only the ones digit:
For example, after comes , so the digit . After comes , so the digit .
3. Keep a checklist of when each digit first shows up:
| digit | 1 | 2 | 3 | 5 | 8 | 4 | 9 | 7 | 0 | 6 |
|---|---|---|---|---|---|---|---|---|---|---|
| first appears at term | 1 | 3 | 4 | 5 | 6 | 9 | 11 | 14 | 15 | 21 |
- By term , nine of the ten digits have appeared. Only is missing. It finally shows up at term (the actual number is ).
So is the last digit to appear.
The answer is .
Why this works
The list of last digits follows the same "add the previous two" rule as the Fibonacci numbers, so you never need the large numbers themselves. Writing a checklist turns "which comes last" into a simple scan. Next time a problem asks only about last digits, drop everything except the ones digit.
Alternative approach
The answer must be one of the five choices, so you only need to watch for . In the list, appears at term , at term , at term , at term , and only at term . So is last.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
The units digit of a sum is determined by the units digits of the addends, so we can run the recursion on last digits alone: each new digit is the previous two added, keeping only the ones place.
Starting :
Record the first appearance of each digit:
| digit | 1 | 2 | 3 | 5 | 8 | 4 | 9 | 7 | 0 | 6 |
|---|---|---|---|---|---|---|---|---|---|---|
| term | 1 | 3 | 4 | 5 | 6 | 9 | 11 | 14 | 15 | 21 |
By the th term, nine digits have shown up and only is missing. It finally appears as the st term (), so is the last digit to appear.
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 12: Introduction to Modular Arithmetic
- Introduction to Algebra, Chapter 21: Sequences & Series (§21.1, §21.2, §21.3, §21.4)
- Prealgebra, Chapter 15: Problem-Solving Strategies (§15.2)
- Introduction to Number Theory, Chapter 10: Units Digits
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site. Also appeared as 2000 12 #4.