login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A287659 Positions of 1 in A287657; complement of A287658. 3
2, 3, 6, 8, 9, 12, 13, 16, 18, 19, 22, 24, 25, 28, 29, 32, 34, 35, 38, 39, 42, 44, 45, 48, 50, 51, 54, 55, 58, 60, 61, 64, 66, 67, 70, 71, 74, 76, 77, 80, 81, 84, 86, 87, 90, 92, 93, 96, 97, 100, 102, 103, 106, 107, 110, 112, 113, 116, 118, 119, 122, 123 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

FORMULA

a(n) = 2n - A003849(n-1) for n >= 1.

MATHEMATICA

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

w = StringJoin[Map[ToString, s]]

w1 = StringReplace[w, {"0" -> "01", "1" -> "10"}]   (*Thue-Morse transform*)

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

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

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

CROSSREFS

Cf. A003849, A005614, A287657, A287658.

Sequence in context: A092114 A032711 A135768 * A047244 A111215 A099381

Adjacent sequences:  A287656 A287657 A287658 * A287660 A287661 A287662

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling, Jun 02 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 April 5 21:35 EDT 2020. Contains 333260 sequences. (Running on oeis4.)