A137951 Redundant binary representation (A089591) of n interpreted as ternary number.
0, 1, 3, 4, 6, 10, 12, 13, 15, 19, 21, 31, 33, 37, 39, 40, 42, 46, 48, 58, 60, 64, 66, 94, 96, 100, 102, 112, 114, 118, 120, 121, 123, 127, 129, 139, 141, 145, 147, 175, 177, 181, 183, 193, 195, 199, 201, 283, 285, 289, 291, 301, 303, 307, 309, 337, 339, 343, 345
Offset: 0
Examples
A089591(10)=210 --> a(10)=2*3^2+1*3^1+0*3^0=18+3+0=21; A089591(11)=1011 --> a(11)=1*3^3+0*3^2+1*3^1+1*3^0=27+0+3+1=31.
Links
- R. Zumkeller, Table of n, a(n) for n = 0..10000
- Eric Weisstein's World of Mathematics, Ternary
Comments