Let $n = 2^{2015} - 1$. For any integer $1 \le x < n$, let \[f_n(x) = \sum\limits_p s_p(n-x) + s_p(x) - s_p(n),\] where $s_q(k)$ denotes the sum of the digits of $k$ when written in base $q$ and the summation is over all primes $p$. Let $N$ be the number of values of $x$ such that $4 | f_n(x)$. What is the remainder when $N$ is divided by $1000?$

Let's think step by step and output the final answer within \boxed{}.
user