|
| |
|
|
A057890
|
|
In base 2, either a palindrome or becomes a palindrome if trailing 0's are omitted.
|
|
6
| |
|
|
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 17, 18, 20, 21, 24, 27, 28, 30, 31, 32, 33, 34, 36, 40, 42, 45, 48, 51, 54, 56, 60, 62, 63, 64, 65, 66, 68, 72, 73, 80, 84, 85, 90, 93, 96, 99, 102, 107, 108, 112, 119, 120, 124, 126, 127, 128, 129, 130, 132, 136, 144, 146
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,3
|
|
|
COMMENTS
| Symmetric bit strings (bit-reverse palindromes), including as many leading as trailing zeros.
Fixed points of A057889, complement of A057891
|
|
|
LINKS
| Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
|
|
|
FORMULA
| A030101(A030101(n)) = A030101(n). - David Wilson, Jun 09 2009, Jun 18 2009
A178225(A000265(a(n))) = 1. [Reinhard Zumkeller, Oct 21 2011]
|
|
|
EXAMPLE
| 10 is included, since 01010 is a palindrome, but 11 is not because 1011 is not.
|
|
|
PROG
| (Haskell)
a057890 n = a057890_list !! (n-1)
a057890_list = 0 : filter ((== 1) . a178225 . a000265) [1..]
-- Reinhard Zumkeller, Oct 21 2011
|
|
|
CROSSREFS
| Cf. A030101, A000265, A006519, A006995, A057889, A057891.
Cf. A061917, A006995.
Sequence in context: A045779 A062014 A164707 * A161604 A125121 A136490
Adjacent sequences: A057887 A057888 A057889 * A057891 A057892 A057893
|
|
|
KEYWORD
| easy,nonn,base,nice
|
|
|
AUTHOR
| Marc LeBrun (mlb(AT)well.com), Sep 25 2000
|
| |
|
|