If $a_sk^s+a_{s-1}k^{s-1}+...+a_0$ is the basis representation of $n$ with respect to the basis $k$. Then, $$0<n\leq k^{s+1}-1$$.
My attempt:- By basis represantation, we know that $0\leq a_j<k,j=0,1,2,3,...,s.$
$a_sk^s+a_{s-1}k^{s-1}+...+a_0<k.k^s+k.k^{s-1}+...+k=k(k^s+k^{s-1}+...+1)=k.\frac{k^{s+1}-1}{k-1}.$
I am not able to reduce further. Since $\frac{k}{k-1}>1$. Please help me.
Another attempt:- $a_sk^s+a_{s-1}k^{s-1}+...+a_0<k.k^s+k.k^{s-1}+...+k<k^{s+1}+k^s+...+k+1=\frac{k^{s+2}-1}{k-1}.$
\dots
(or\ldots
, etc.) instead of...
(note the difference in spacing:a+b+\ldots+c
$\color{blue}{a+b+\ldots+c}$ vs.a+b+...+c
$\color{blue}{a+b+...+c}$). For multiplication,\cdot
$\color{blue}{\cdot}$ or\times
$\color{blue}{\times}$ is a better choice than the plain dot. $\endgroup$