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!)
A284791 Positions of 1 in A284789; complement of A284790. 3
2, 3, 8, 9, 13, 15, 20, 22, 26, 27, 32, 33, 37, 39, 43, 44, 49, 51, 56, 57, 61, 63, 68, 70, 74, 75, 80, 82, 87, 88, 92, 94, 98, 99, 104, 105, 109, 111, 116, 118, 122, 123, 128, 129, 133, 135, 139, 140, 145, 147, 152, 153, 157, 159, 163, 164, 169, 170, 174 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) - a(n-1) is in {1,2,4,5} for n>=2. Conjecture: a(n)/n -> 3.
LINKS
EXAMPLE
As a word, A284789 = 0110000110001010..., in which 1 is in positions 2,3,8,9,13,...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* A010060 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"1001" -> "0"}]
st = ToCharacterCode[w1] - 48 (* A284789 *)
Flatten[Position[st, 0]] (* A284790 *)
Flatten[Position[st, 1]] (* A284791 *)
CROSSREFS
Sequence in context: A224225 A283160 A281148 * A281111 A301917 A327312
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 10 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 24 04:14 EDT 2024. Contains 371918 sequences. (Running on oeis4.)