login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A189817
Positions of 0 in A189816; complement of A189818.
4
1, 4, 5, 6, 7, 8, 9, 10, 13, 16, 19, 22, 25, 28, 31, 32, 33, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 49, 50, 51, 52, 53, 54, 55, 58, 59, 60, 61, 62, 63, 64, 67, 68, 69, 70, 71, 72, 73, 76, 77, 78, 79, 80, 81, 82, 85, 86, 87, 88, 89, 90, 91, 94, 97, 100, 103, 106, 109, 112, 113, 114, 115, 116
OFFSET
1,2
COMMENTS
See A189816.
LINKS
MATHEMATICA
a[1] = 0; h = 180;
Table[a[3 k - 2] = 0, {k, 1, h}];
Table[a[3 k - 1] = 1 - a[k], {k, 1, h}];
Table[a[3 k] = 1 - a[k], {k, 1, h}];
Table[a[n], {n, 1, h}] (*A189816*)
Flatten[Position[%, 0]] (*A189817*)
Flatten[Position[%%, 1]] (*A189818*)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 28 2011
STATUS
approved