|
| |
|
|
A098894
|
|
Values of n such that {s(1),...,s(n)} is a palindrome, where {s(1),s(2),...} is the fixed-point of the substitutions 0->1 and 1->110.
|
|
0
| |
|
|
1, 2, 5, 8, 15, 22, 39, 56, 97, 138, 237, 336, 575, 814, 1391, 1968, 3361, 4754, 8117, 11480, 19599, 27718, 47319, 66920, 114241, 161562, 275805, 390048, 665855, 941662, 1607519, 2273376, 3880897, 5488418, 9369317
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
COMMENTS
| Superseeker suggests: (1) ogf (1+x+x^2+x^3)/(1+2x-2x^2-x^3+x^4+x^5), (2) terms of odd index {1,5,15,39,...} give A034182 and (3) {a(n)+2} gives A082766, except for several initial terms.
|
|
|
EXAMPLE
| Start with 1 and iterate the substitutions 0->1, 1->110 to get 1, 110, 1101101, 11011011101101110, 11011011101101110110110111011011101101101,... The initial terms from the beginning to the single quotes form palindromes: 1'1'011'011'1011011'1011011',..., of lengths 1,2,5,8,15,22,...
|
|
|
CROSSREFS
| Cf. A034182, A082766.
Sequence in context: A183409 A024808 A077866 * A121641 A058884 A073335
Adjacent sequences: A098891 A098892 A098893 * A098895 A098896 A098897
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| John W. Layman (layman(AT)math.vt.edu), Nov 04 2004
|
| |
|
|