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!)
A189301 Zero-one sequence based on A026147: a(A026147(k))=a(k); a(A181155(k))=1-a(k), a(1)=0. 3
0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
COMMENTS
First, the sequences of odd and even positive integers are used to generate the Thue-Morse sequence A010060, in which the positions of 0 comprise A026147 and those of 1 comprise A181155. The procedure is then repeated starting with those two sequences, resulting in A189301.
LINKS
MATHEMATICA
u[n_] := 2 n - 1; a[1] = 0; h = 400;
c = (u[#1] &) /@ Range[h]; (*A005408*)
d = (Complement[Range[Max[#1]], #1] &)[c]; (*A005843*)
Table[a[d[[n]]] = 1 - a[n], {n, 1, h - 1}]; (*Thue-Morse: A010060*)
Table[a[c[[n]]] = a[n], {n, 1, h}] (*A010060*)
c = Flatten[Position[%, 0]] (*A026147*)
d = Flatten[Position[%%, 1]] (*A181155*)
a[1] = 0; h = 200
Table[a[d[[n]]] = 1 - a[n], {n, 1, h - 1}]; (*A189301*)
Table[a[c[[n]]] = a[n], {n, 1, h}] (*A189301*)
c = Flatten[Position[%, 0]] (*A189302*)
d = Flatten[Position[%%, 1]] (*A189303*)
CROSSREFS
Sequence in context: A308185 A159689 A174282 * A123640 A022924 A295893
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 19 2011
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 May 12 17:44 EDT 2024. Contains 372492 sequences. (Running on oeis4.)