The remainder when $x^{100} - x^{99} + \cdots - x + 1$ is divided by $x^2 - 1$ can be written in the form $ax + b$. Find $2a + b$.

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