Difference between revisions of "2017 AMC 12A Problems/Problem 7"
(→Solution) |
(→Problem) |
||
Line 1: | Line 1: | ||
− | + | Define a function on the positive integers recursively by <math>f(1) = 2</math>, <math>f(n) = f(n-1) + 2</math> if <math>n</math> is even, and <math>f(n) = f(n-2) + 2</math> if <math>n</math> is odd and greater than <math>1</math>. What is <math>f(2017)</math>? |
Revision as of 14:46, 8 February 2017
Define a function on the positive integers recursively by , if is even, and if is odd and greater than . What is ?