Let $P(x) \in \mathbb{Q}[x]$ be a polynomial satisfying $P(x)= P(r-x)$ for some $r$. Then $P(x)$ is a polynomial in $x(r-x)$. Similarly if $- P(x)= P(r-x)$ then $P(x)$ is equal to the product of $(x-r/2)$ and a polynomial in $x(r-x)$. (Such $P(x)$ is called reflective and anti-reflective respectively). We may refer to D. Knuth, Johann Faulhaber and Sums of Powers for these facts.
I am collapsed in the following (probably) simple question. Let $$P(x) = x^n \pm (1-x)^n$$ so that $P(x)$ satisfies $\pm P(x)=P(1-x)$. So
$$P(x) = Q(x(1-x)) \text{ or } P(x) = (x-1/2) Q(x(1-x))$$ for some polynomial $Q$ depending on the sign. What are the coefficients of $Q(x)$?
I computed $Q(x)$ for small values of $n$ directly, but I couldn't see a way to generalize it. Factorizing $P(x)$ does not seem to work either as I get terms like $x^k(1-x)^l$ for $k \neq l$.
Is there a formula involving some binomial terms for the coefficients of $Q(x)$? A recursive formula will also be fine for me.
Thanks in advance.