How can we prove that the following expression is a polynomial? $$ \frac{1-x^{2^{n-1}}}{1-x} $$ I've asked this question just for learning the ways different from using
$1-x^n=(1-x)(1+x+x^2+···+x^{n-1})$.
How can we prove that the following expression is a polynomial? $$ \frac{1-x^{2^{n-1}}}{1-x} $$ I've asked this question just for learning the ways different from using
$1-x^n=(1-x)(1+x+x^2+···+x^{n-1})$.
Hint: for any $k\in\Bbb N$ we have $1-x^k=(1-x)(1+x+x^2+x^3+...+x^{k-1})$.
Even easier, $1-1^{2^{n-1}}=0$, so $1-x^{2^{n-1}}=(x-1)P(x)$ for some polynomial $P$. We don't need a constructive solution ;)
We have
$$\forall m\in \mathbb{N}, 1-x^m=(1-x)(1+x+\cdots+x^{m-1})$$
Just take $m=2^{n-1}$ and you're done