A ternary-palindromic number is a positive integer whose base-3 representation reads the same forwards and backwards, without leading zeros.
The first few ternary palindromic numbers are: 2, 4, 8, 10, 13, 16, 20, 23, 26, 28, 40, …
2,099 of the first one million positive integers are ternary palindromic.
Learn more about ternary palindromic numbers on wikipedia.
See other features.