|
Search: id:A085297
|
|
|
| A085297 |
|
Nonzero residues of Catalan sequence modulo 3; related to the Thue-Morse sequence (A001285). |
|
+0 2
|
|
| 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2
(list; graph; listen)
|
|
|
OFFSET
|
1,3
|
|
|
COMMENT
|
The runs of zeros in between the digit strings are given in A085296.
|
|
FORMULA
|
If a leading '1' is added to the Catalan sequence modulo 3, the only nonzero digit strings are {1, 1, 1, 2, 2, 2} and {2, 2, 2, 1, 1, 1}. Replacing these digit strings with their first digit, {1, 1, 1, 2, 2, 2} -> '1' and {2, 2, 2, 1, 1, 1} -> '2', then omitting all zeros, results in the Thue-Morse sequence.
|
|
CROSSREFS
|
Cf. A001285 (Thue-Morse), A000108 (Catalan), A039969 (d-perfect), A085296.
Sequence in context: A163529 A027354 A102673 this_sequence A080972 A037814 A118668
Adjacent sequences: A085294 A085295 A085296 this_sequence A085298 A085299 A085300
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Paul D. Hanna (pauldhanna(AT)juno.com), Jun 24 2003
|
|
|
Search completed in 0.002 seconds
|