Let $f_0(x)=x+|x-100|-|x+100|$, and for $n\geq 1$, let $f_n(x)=|f_{n-1}(x)|-1$. For how many values of $x$ is $f_{100}(x)=0$? $\textbf{(A)}\ 299$ $\textbf{(B)}\ 300$ $\textbf{(C)}\ 301$ $\textbf{(D)}\ 302$ $\textbf{(E)}\ 303$
Start from $v=f_0(x)$. After one step the value is $|v|-1$; while it is positive, each step subtracts $1$, and once it reaches $0$ it alternates $0,-1,0,-1,\dots$. A non-integer never becomes an integer. So $f_{100}(x)=0$ exactly when $|v|$ is an integer at most $100$ with the same parity as $100$: $f_0(x)\in\{0,\pm2,\pm4,\dots,\pm100\}$.
$f_0(x)$ is $x+200$ for $x<-100$, $-x$ on $[-100,100]$, and $x-200$ for $x>100$: it rises to $100$, falls to $-100$, then rises. Each value strictly between $-100$ and $100$ is taken $3$ times, and $\pm100$ twice each.
The $99$ values $0,\pm2,\dots,\pm98$ give $3$ solutions each and $\pm100$ give $2$ each, for a total of $99\cdot3+2\cdot2=301$. The answer is (C).