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!)
 A188973 Zero-one sequence based on squares: a(A000290(k))=a(k); a(A000037(k))=1-a(k); a(1)=0. 6
 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1 COMMENTS Let u=A000290 and v=A000037, so that u(n)=n^2 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_] := n^2;  (*A000290*) a[1] = 0; h = 128; c = (u[#1] &) /@ Range[h]; d = (Complement[Range[Max[#1]], #1] &)[c]; (*A000037*) Table[a[d[[n]]] = 1 - a[n], {n, 1, h - 1}]; Table[a[c[[n]]] = a[n], {n, 1, h}]   (*A188973*) Flatten[Position[%, 0]]  (*A188974*) Flatten[Position[%%, 1]] (*A188975*) CROSSREFS Cf. A188967, A188974, A188975. Sequence in context: A090171 A316832 A086747 * A188970 A244992 A286685 Adjacent sequences:  A188970 A188971 A188972 * A188974 A188975 A188976 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 August 5 18:00 EDT 2021. Contains 346488 sequences. (Running on oeis4.)