The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A288933 Positions of 0 in A288932; complement of A288934. 3
2, 4, 7, 9, 13, 15, 18, 20, 25, 27, 30, 32, 36, 38, 41, 43, 49, 51, 54, 56, 60, 62, 65, 67, 72, 74, 77, 79, 83, 85, 88, 90, 97, 99, 102, 104, 108, 110, 113, 115, 120, 122, 125, 127, 131, 133, 136, 138, 144, 146, 149, 151, 155, 157, 160, 162, 167, 169, 172 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Conjecture: a(n)/n -> 3, and 0 < 3 - a(n)/n < 1 for n >= 1.
LINKS
FORMULA
a(n) = 3*n-1-HammingWeight(n-1) = 3*n-1-A000120(n-1) (conjectured). - Gleb Koloskov, May 06 2021
MATHEMATICA
s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];
w[n_] := StringReplace[w[n - 1], {"00" -> "1000", "1" -> "10101"}]
Table[w[n], {n, 0, 8}]
st = ToCharacterCode[w[11]] - 48 (* A288932 *)
Flatten[Position[st, 0]] (* A288933 *)
Flatten[Position[st, 1]] (* A288934 *)
CROSSREFS
Sequence in context: A087158 A195669 A277733 * A129259 A077597 A183873
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 25 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 June 12 15:44 EDT 2024. Contains 373332 sequences. (Running on oeis4.)