Find the remainder when P(x)=x2024+3x1012+2P(x) = x^{2024} + 3x^{1012} + 2P(x)=x2024+3x1012+2 is divided by x2+1x^2 + 1x2+1.
6
0
2
x + 2