Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
$\begingroup$@Bernoulli - don't ask new questions in comments. Also, when asking the new question you must include the definition of p for anyone to understand why you are getting an expansion.$\endgroup$
Expand[FromDigits[Reverse[{0, 1, 2, 4, 6}], x]]
$\endgroup$L. x^Range[0, Length[L] - 1]
? $\endgroup$SeriesData[x, 0, L, 0, Length@L, 1]
if someone wants aSeries
... $\endgroup$SeriesData[x, 0, L, 0, Length@L, 1] // Normal
for polynomial $\endgroup$p
for anyone to understand why you are getting an expansion. $\endgroup$