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!)
 A189219 Zero-one sequence based on the octagonal numbers:  a(A000567(k))=a(k); a(A183220(k))=1-a(k), a(1)=0. 3
 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1 LINKS MATHEMATICA u[n_] := n(3n-2);  (*A000567*) a[1] = 0; h = 128; c = (u[#1] &) /@ Range[2h]; d = (Complement[Range[Max[#1]], #1] &)[c]; (*A183220*) Table[a[d[[n]]] = 1 - a[n], {n, 1, h - 1}]; (*A189219*) Table[a[c[[n]]] = a[n], {n, 1, h}]   (*A189219*) Flatten[Position[%, 0]]  (*A189220*) Flatten[Position[%%, 1]] (*A189221*) CROSSREFS Cf. A188967, A189220, A189221. Sequence in context: A285589 A179081 A113217 * A189008 A285515 A190204 Adjacent sequences:  A189216 A189217 A189218 * A189220 A189221 A189222 KEYWORD nonn AUTHOR Clark Kimberling, Apr 18 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 June 5 01:27 EDT 2020. Contains 334828 sequences. (Running on oeis4.)