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?