In general, let $X = (X_{n−1}X_{n−2}...X_0)_r$ be an n-digit number in base r. Give an algorithm or explain in English how to represent $X$ in base $r^2$.
I don't understand the question at all. If someone can give examples that would be great.
In general, let $X = (X_{n−1}X_{n−2}...X_0)_r$ be an n-digit number in base r. Give an algorithm or explain in English how to represent $X$ in base $r^2$.
I don't understand the question at all. If someone can give examples that would be great.
Hint:
One hundred in base $10$: $(100)_{10}=1(10^2)+0(10)+0=100.$
Ten in base $100$: $(10)_{100}=1(100)+0=10$.
This should get you started.