If $A=(b-1) (b-1) (b-1)$ and $B=(b-1) (b-1)$ are written in base $b$, what is $A\times B$ in base $b$?
I've tried developing $A \times B$ in decimal base but couldn't get this product back in base $b$.
Beside this, is there a general procedure to compute product in non decimal base.
Thanks in advance for your help,
I assume you mean "what's the product of two numbers $n$ and $m$ whose digits are all equal to the largest digit you can write in that base?" (e.g. $666_7$ and $66_7$ - in base $7$)?
Hint: what are the digits of $(n+1)\times(m+1) = nm + ((n+1) +(m+1) -1)$?
In general, multiplication in all bases is the same as in base $10$: multiply the digits $1$ by $1$ as you'd do in base 10, but obviously with a different multiplication table, with the usual rules for carryover.