This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A285680 {1010->2}-transform of the infinite Fibonacci word A003849. 4
 0, 1, 0, 0, 2, 0, 1, 0, 0, 2, 0, 2, 0, 1, 0, 0, 2, 0, 1, 0, 0, 2, 0, 2, 0, 1, 0, 0, 2, 0, 2, 0, 1, 0, 0, 2, 0, 1, 0, 0, 2, 0, 2, 0, 1, 0, 0, 2, 0, 1, 0, 0, 2, 0, 2, 0, 1, 0, 0, 2, 0, 2, 0, 1, 0, 0, 2, 0, 1, 0, 0, 2, 0, 2, 0, 1, 0, 0, 2, 0, 2, 0, 1, 0, 0, 2 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,5 LINKS Clark Kimberling, Table of n, a(n) for n = 1..10000 EXAMPLE As a word, A003849 = 01001010010010100..., and replacing each 1010 by 2 gives 01002010020201002010020201002020100201... MATHEMATICA s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0}}] &, {0}, 13] ; (* A003849 *) w = StringJoin[Map[ToString, s]] w1 = StringReplace[w, {"1010" -> "2"}] st = ToCharacterCode[w1] - 48; (* A285680 *) Flatten[Position[st, 0]];  (* A285681 *) Flatten[Position[st, 1]];  (* A285682 *) Flatten[Position[st, 2]];  (* A285683 *) CROSSREFS Cf. A003849, A285677, A285681, A258682, A285683. Sequence in context: A080101 A025895 A104451 * A240668 A106602 A106594 Adjacent sequences:  A285677 A285678 A285679 * A285681 A285682 A285683 KEYWORD nonn,easy AUTHOR Clark Kimberling, May 11 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.

Last modified March 19 04:34 EDT 2019. Contains 321311 sequences. (Running on oeis4.)