Difference between revisions of "2018 AMC 10B Problems/Problem 20"
m (→Solution 2 (A Bit Bashy)) |
m (→Solution 2 (A Bit Bashy)) |
||
| Line 40: | Line 40: | ||
<cmath>.....</cmath> | <cmath>.....</cmath> | ||
Notice that <math>f(n)=n</math> whenever <math>n</math> is an odd multiple of <math>3</math>, and the pattern of numbers that follow will always be +3, +2, +0, -1, +0. | Notice that <math>f(n)=n</math> whenever <math>n</math> is an odd multiple of <math>3</math>, and the pattern of numbers that follow will always be +3, +2, +0, -1, +0. | ||
| − | The | + | The largest odd multiple of <math>3</math> smaller than <math>2018</math> is <math>2013</math>, so we have |
<cmath>f(2013)=2013</cmath> | <cmath>f(2013)=2013</cmath> | ||
<cmath>f(2014)=2016</cmath> | <cmath>f(2014)=2016</cmath> | ||
Revision as of 20:24, 1 January 2019
Contents
Problem
A function
is defined recursively by
and
for all integers
. What is
?
Solution 1
Thus,
.
Solution 2 (A Bit Bashy)
Start out by listing some terms of the sequence.
Notice that
whenever
is an odd multiple of
, and the pattern of numbers that follow will always be +3, +2, +0, -1, +0.
The largest odd multiple of
smaller than
is
, so we have
Solution 3 (Bashy Pattern Finding)
Writing out the first few values, we get:
. Examining, we see that every number
where
has
,
, and
. The greatest number that's 1 (mod 6) and less
is
, so we have
See Also
| 2018 AMC 10B (Problems • Answer Key • Resources) | ||
| Preceded by Problem 19 |
Followed by Problem 21 | |
| 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | ||
| All AMC 10 Problems and Solutions | ||
| 2018 AMC 12B (Problems • Answer Key • Resources) | |
| Preceded by Problem 17 |
Followed by Problem 19 |
| 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | |
| All AMC 12 Problems and Solutions | |
These problems are copyrighted © by the Mathematical Association of America, as part of the American Mathematics Competitions.