The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A188970 Zero-one sequence based on (4n-3): a(A016813(k))=a(k); a(A004772(k))=1-a(k); a(1)=0. 3
 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1 COMMENTS Let u=A016813 and v=A004772, so that u(n)=4n-3 and v=complement(u) for n>=1.  Then a is a self-generating zero-one sequence with initial value a(1)=0 and a(u(k))=a(k); a(v(k))=1-a(k). LINKS MATHEMATICA u[n_] := 4n - 3;  (*A016813*) a[1] = 0; h = 128; c = (u[#1] &) /@ Range[h]; d = (Complement[Range[Max[#1]], #1] &)[c]; (*A004772*) Table[a[d[[n]]] = 1 - a[n], {n, 1, h - 1}]; Table[a[c[[n]]] = a[n], {n, 1, h}]   (*A188970*) Flatten[Position[%, 0]]  (*A188971*) Flatten[Position[%%, 1]] (*A188972*) CROSSREFS Cf. A188971, A188972. Sequence in context: A316832 A086747 A188973 * A244992 A286685 A284878 Adjacent sequences:  A188967 A188968 A188969 * A188971 A188972 A188973 KEYWORD nonn AUTHOR Clark Kimberling, Apr 14 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified September 28 15:59 EDT 2021. Contains 347716 sequences. (Running on oeis4.)