I am hypothesizing the following result, given two natural numbers $n$ and $x$, then there exists a unique sequence of coefficients $\{a_1,a_2...,a_n \}$ with $a_i $ in whole numbers such that:
$$ n= \sum_i a_i x^i$$
When $x=10$, this coincides with the standard form of numbers. How do I prove such a sequence exists always?
Edit: From the current answer I received and the comment, I put a further restriction $a_i <x$
A comment is that I think the reminiscent of how we prove that a vector has a unique decomposition into components given a complete basis.