There exists a polynomial $P$ of degree 5 with the following property: If $z$ is a complex number such that $z^5 + 2004z = 1,$ then $P(z^2) = 0.$  Calculate
\[\frac{P(1)}{P(-1)}.\]
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
There exists a polynomial $P$ of degree 5 with the following property: If $z$ is a complex number such that $z^5 + 2004z = 1,$ then $P(z^2) = 0.$  Calculate
\[\frac{P(1)}{P(-1)}.\]
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
-\frac{2010012}{2010013}
There exists a polynomial $P$ of degree 5 with the following property: If $z$ is a complex number such that $z^5 + 2004z = 1,$ then $P(z^2) = 0.$  Calculate
\[\frac{P(1)}{P(-1)}.\]
train