login
The OEIS is supported by the many generous donors to the OEIS 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
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
Sequence in context: A092114 A032711 A135768 * A047244 A111215 A099381
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 16:28 EDT 2024. Contains 371254 sequences. (Running on oeis4.)