{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}”No results found for “{{searchWords}}”× back to contents
As in the problem: after the first step the value drops by $1$ while positive and then alternates $0,-1$, so $f_{60}(x)=0$ exactly when $|f_0(x)|$ is an even integer at most $60$, i.e.\ $f_0(x)\in\{0,\pm2,\dots,\pm60\}$.
$f_0$ is $x+100$ for $x<-50$, $-x$ on $[-50,50]$, $x-100$ for $x>50$: it rises to $50$, falls to $-50$, rises again. Values in $(-50,50)$ are taken $3$ times, $\pm50$ twice, and values beyond $\pm50$ once.