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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A189129 Zero-one sequence based on the sequence (5n-3):  a(A016873(k))=a(k); a(A047207(k))=1-a(k), a(1)=0. 3
1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1

LINKS

Table of n, a(n) for n=1..135.

MATHEMATICA

r=5n-3; u[n_] := Floor[n*r];  (*A016873*)

a[1] = 0; h = 128;

c = (u[#1] &) /@ Range[2h];

d = (Complement[Range[Max[#1]], #1] &)[c]; (*A047207*)

Table[a[d[[n]]] = 1 - a[n], {n, 1, h - 1}]; (*A189129*)

Table[a[c[[n]]] = a[n], {n, 1, h}]   (*A189129*)

Flatten[Position[%, 0]]  (*A189130*)

Flatten[Position[%%, 1]] (*A189131*)

CROSSREFS

Cf. A188967, A189129, A047207.

Sequence in context: A118268 A143220 A189163 * A267269 A187972 A248396

Adjacent sequences:  A189126 A189127 A189128 * A189130 A189131 A189132

KEYWORD

nonn

AUTHOR

Clark Kimberling, Apr 17 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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 8 08:31 EST 2021. Contains 349594 sequences. (Running on oeis4.)