Can iota() be used to convert a number in base 10 to one in base 3 and then, if we could remove the last digit of the answer, that is 12 will be 110, remove last 0 ,making it 11.

Then, can we convert the result back to base 10 and display the answer?

Am I thinking in the right direction? If yes, is there an easy way to convert from base 3 back to base 10?