Let's say I have a polynomial $B(x)$. Its length is $m$ (By which I mean, if you write out the sequence of $a_i$'s where $B(x) = \sum_{i=0}^{m-1} a_ix^i$ the length of that sequence is $m$.) So you'll notice, since we're starting from the 0'th order, the highest power is $m-1$.
Now, if you multiply $B(x)B(x)$, since the highest power of $B$ is $m-1$, the highest power of $B^2(x)$ is $2m-2$. Then the length of $B^2(x) = 2m-1$ (have to add the 0th element back in).
So, (I'm thinking) the $length(B^n(x)) = f(n) = (2f(n-1) -2)+1$. Not sure if this is correct. Anyway, I'd like to solve the recurrence. I threw this into WolframAlpha, where I got the answer $f(n) = (c_1 - 2) 2^{n-1}+1$. I gave it various numerical base cases to try with. However, I don't understand how the recurrence got solved, and also I wasn't sure if $c_1$ was the number for the base case. My question: what are the steps for solving this recurrence, and is my recurrence relation correct in the first place?
Edit: Realized that my recurrence WAS NOT correct for the powers. For each iteration, I was considering multiplying the previous one by itself, rather than the original $B$. That's why it was growing so fast. So my recurrence is wrong.