a) Write the numbers 40 and 12 in base 3 notation using the "digits" $\{1,2,3\}$.
(b) Work out the multiplication $40 \cdot 12=480$ in base 3 .
(c) Compute $\operatorname{CONCAT}_n(12,15)$ for $n=3,5$, and 10 . Why is no calculation required in the last case?
(d) Compute the following: UPCHANGE ${ }_{3,7}(15)$, UPCHANGE $_{2,7}(15)$, UPCHANGE $_{2,10}(15)$, DOWNCHANGE $_{3,7}(15)$, DOWNCHANGE $_{2,7}(15)$, DOWNCHANGE $_{2,10}(20)$.