Determine the smallest value of a positive integer N such that N is a palindrome in both base 3 and base 10. What is the next smallest value of N having this property?

*** N must have more than one digit in any base. So, trivial solutions like (4)_{base 10} or, (8)_{base 10} are not permissible.

(In reply to

re: solution by Charlie)

Thanks, Charlie

I have just corrected a typo - initially wrote 111 (from memory) instead of 121. The puzzle was solved within less than 3 minutes using a base conversion applet which gives you instant output in 16 bases after you enter a number in any base - try it.

That was done on my android - couple of days ago.

Later I wrote the result, -which I "remembered" with one bit error.

Hope to make it a habit - not to publish any version prior to final checking.