2017 AMC 12A Problems/Problem 7

Revision as of 15:46, 8 February 2017 by Speck (talk | contribs) (Problem)

Define a function on the positive integers recursively by $f(1) = 2$, $f(n) = f(n-1) + 2$ if $n$ is even, and $f(n) = f(n-2) + 2$ if $n$ is odd and greater than $1$. What is $f(2017)$?