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!)
A286753 Positions of 0 in A286752; complement of A286753. 3
2, 4, 5, 7, 9, 12, 14, 15, 17, 19, 22, 24, 26, 27, 29, 32, 34, 36, 37, 39, 42, 44, 46, 47, 49, 51, 54, 56, 57, 59, 61, 64, 66, 68, 69, 71, 74, 76, 78, 79, 81, 84, 86, 88, 89, 91, 93, 96, 98, 99, 101, 103, 106, 108, 109, 111, 113, 116, 118, 120, 121, 123, 126 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

2n - a(n) is in {0,1} for n>=1.

LINKS

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

FORMULA

a(n) = 1 - A286754(n) for n >= 1.

EXAMPLE

As a word, A286752 = 10100101011010010101101001001..., in which 0 is in positions 2,4,5,7,9,12,...

MATHEMATICA

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

w = StringJoin[Map[ToString, s]];

w1 = StringReplace[w, {"010010" -> ""}];

st = ToCharacterCode[w1] - 48; (* A286752 *)

Flatten[Position[st, 0]];  (* A286753 *)

Flatten[Position[st, 1]];  (* A286754 *)

CROSSREFS

Cf. A003849, A286752, A286754.

Sequence in context: A158618 A000788 A053039 * A325543 A214051 A027861

Adjacent sequences:  A286750 A286751 A286752 * A286754 A286755 A286756

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling, May 14 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 6 04:14 EST 2019. Contains 329784 sequences. (Running on oeis4.)