What is the remainder when the polynomial P(x)=x2024+x2023+1P(x) = x^{2024} + x^{2023} + 1P(x)=x2024+x2023+1 is divided by x2−1x^2 - 1x2−1?
x + 2
2x + 1
x - 2
3x + 1