Find the remainder when $x^{100}$ is divided by $x^8 - x^6 + x^4 - x^2 + 1.$
from sympy import Symbol

x = Symbol('x')

n = x**8 - x**6 + x**4 - x**2 + 1

d = x**100

remainder = n % d

print(remainder)