|
Search: id:A134027
|
|
|
| A134027 |
|
Numbers that are palindroms in balanced ternary representation. |
|
+0 4
|
|
| 0, 1, 4, 7, 10, 13, 16, 28, 40, 43, 52, 61, 73, 82, 91, 103, 112, 121, 124, 160, 196, 208, 244, 280, 292, 328, 364, 367, 394, 421, 457, 484, 511, 547, 574, 601, 613, 640, 667, 703, 730, 757, 793, 820, 847, 859, 886, 913, 949, 976, 1003, 1039, 1066, 1093, 1096
(list; graph; listen)
|
|
|
OFFSET
|
1,3
|
|
|
COMMENT
|
A134028(a(n)) = a(n).
|
|
REFERENCES
|
D. E. Knuth, The Art of Computer Programming, Addison-Wesley, Reading, MA, Vol 2, pp 173-175.
|
|
LINKS
|
Eric Weisstein's World of Mathematics, Palindromic Number
Wikipedia, Balanced Ternary
|
|
EXAMPLE
|
a(10) = 43 = 1*3^4 - 1*3^3 - 1*3^2 - 1*3^1 + 1*3^0 == '+---+';
a(11) = 52 = 1*3^4 - 1*3^3 + 0*3^2 - 1*3^1 + 1*3^0 == '+-0-+';
a(12) = 61 = 1*3^4 - 1*3^3 + 1*3^2 - 1*3^1 + 1*3^0 == '+-+-+';
a(13) = 73 = 1*3^4 + 0*3^3 - 1*3^2 + 0*3^1 + 1*3^0 == '+0-0+'.
a(13) = 73 = 1*3^4 + 0*3^3 - 1*3^2 + 0*3^1 + 1*3^0 == '+0-0+'.
|
|
CROSSREFS
|
Cf. A014190.
Sequence in context: A090852 A090955 A137281 this_sequence A143455 A087065 A001197
Adjacent sequences: A134024 A134025 A134026 this_sequence A134028 A134029 A134030
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Oct 19 2007
|
|
|
Search completed in 0.002 seconds
|