The number I am trying to convert is 212122101212, from base 3 to base 9.
The way I tried doing it is converting the number to base 10 by multiplying each digit with weight of corresponding power of 3. And then convert this to base 9 by repeatedly diving the number by 9 and keeping the remainder.
Since it's a very large number I committed mistakes couple of times while converting it manually. Is there any better, less error prone, way of converting the number?
Generally, if you are converting from base $n$ to base $n^m$, you can do it by taking the original number $m$ digits at a time starting from the right.
So in your case, take the number 2 digits at a time starting from the right. $21-21-22-10-12-12$ in base 3 converts to $7-7-8-3-5-5$ in base 9($3^2)$ so your answer is $778355$