I was going over the proof of the following claim:
Let $b$ be a positive integer greater than one. Then every positive integer $n$ can be written uniquely as
$$n=\sum_{n=0}^k a_{k-n} b^{k-n} $$
where $k $ is a nonnegative integer, $a_j $ is an integer with $0\leq a_j \leq b-1$ for $j=0,1,\dotsc k $, and $a_k\neq 0$.
The proof begins with
$$n=bq_0 + a_0$$
And then successively divides each quotient by $b $, assuming that the quotients do not equal zero, to produce
$$q_0 = bq_1 + a_1$$ $$q_1 = bq_2 + a_2$$ $$q_2 = bq_3 + a_3$$ $$\vdots $$
Then we observe that the sequence of quotients must satisfy
$$n > q_1 > q_2 > \dotsc \geq 0$$
Then this is what the text says: "Because the sequence $q_0$, $q_1$, $q_2$, $\dotsc $ is a decreasing sequence of nonnegative integers that continues as long as it's terms are positive, there are at most $q_0$ terms in this sequence, and the last term equals $0$."
I have some questions regarding this quote:
How do we know that there are at most $q_0$ terms?
Why can't there be more?
What contributes to there being less than $q_0$ terms?
Given that there are at most $q_0$ terms in the decreasing sequence of nonnegative integers $q_0$, $q_1$, $q_2$, $\dotsc $, how are we then able to conclude that 0 is the last quotient term in the sequence? I grant that the penultimate quotient will be positive, but based on the nature of the sequence, how can we conclude that the next, the final, quotient is 0?
I've been thinking about answers to these questions all day, but I only have probable answers and not answers deduced from the facts. Please help. Thanks.