Being interested in these polynomials, would like to clarify one small observation.
Let $n\in\mathbb{N}$ and $P_{n}$ is $0,1$-polynomial whose coefficients are binary digits of $n$.
Let $n$ has prime factorization
$$n = p_{1}^{m_{1}}\cdot p_{2}^{m_{2}}\cdots p_{k}^{m_{k}}$$
Find for each prime factor its binary representation $0,1$-polynomial $P_{p_i}$ and substitute in the factorization formula (with corresponding degrees):
$$Q_{n}=P_{p_{1}}^{m_{1}} \cdot P_{p_{2}}^{m_{2}}\cdots P_{p_{k}}^{m_{k}}$$
The question is:
When $Q_{n} == P_{n}$ ?
I discovered that this is true for about half of numbers, and I can’t see any pattern in them.
For example:
$p_2=x, p_3=1+x$
$n=6, p_2 \cdot p_3 = x+x^2==p_6$
$n=9, p_3 \cdot p_3 = 1+2 x+x^2 \neq p_9=1+x^3$
$n=56, Q_{56}=x^3+x^4+x^5==P_{56}$
$n=57, Q_{57}=1+2 x+x^4+x^5 \neq P_{57}=1+x^3+x^4+x^5$
First numbers for which $Q_{n} \neq P_{n}$:
$$9, 18, 21, 25, 27, 33, 35, 36, 39, 42, 45, 49, 50, 54, 55, 57, 63, 65, 66, 69, 70, 72, 75, 77, 78, 81\dots$$