login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A287790 {0->001, 1->110}-transform of the infinite Fibonacci word A003849. 3
0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1

LINKS

Clark Kimberling, Table of n, a(n) for n = 1..10000

EXAMPLE

As a word, A003849 = 0100101001001010010100100..., and replacing each 0 by 001 and each 1 by 110 gives 00111000100111000111000100111000100...

MATHEMATICA

s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0}}] &, {0}, 10] (* A003849 *)

w = StringJoin[Map[ToString, s]]

w1 = StringReplace[w, {"0" -> "001", "1" -> "110"}]

st = ToCharacterCode[w1] - 48    (* A287790 *)

Flatten[Position[st, 0]]  (* A287791 *)

Flatten[Position[st, 1]]  (* A287792 *)

CROSSREFS

Cf. A287791, A287792.

Sequence in context: A014306 A138150 A271591 * A285159 A073089 A323158

Adjacent sequences:  A287787 A287788 A287789 * A287791 A287792 A287793

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling, Jun 03 2017

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 11 02:36 EST 2019. Contains 329912 sequences. (Running on oeis4.)