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!)
A287803 Positions of 1 in A287801; complement of A287802. 3
1, 6, 7, 10, 15, 16, 21, 22, 25, 30, 31, 34, 39, 40, 45, 46, 49, 54, 55, 60, 61, 64, 69, 70, 73, 78, 79, 84, 85, 88, 93, 94, 97, 102, 103, 108, 109, 112, 117, 118, 123, 124, 127, 132, 133, 136, 141, 142, 147, 148, 151, 156, 157, 162, 163, 166, 171, 172, 175 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Then d(n) is in {0, 2} for n >= 1. Indeed,
d(n) = 0 if n is in A001950, and d(n) = 1 if n is in A000201.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0}}] &, {0}, 10] (* A003849 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"0" -> "100", "1" -> "001"}]
st = ToCharacterCode[w1] - 48 (* A287801 *)
Flatten[Position[st, 0]] (* A287802 *)
Flatten[Position[st, 1]] (* A287803 *)
CROSSREFS
Sequence in context: A102727 A315831 A287386 * A216348 A114949 A081359
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 14:10 EDT 2024. Contains 371792 sequences. (Running on oeis4.)