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”).

A285306
Positions of 0 in A285305; complement of A285307.
3
2, 3, 6, 8, 10, 11, 14, 15, 18, 20, 21, 24, 26, 27, 30, 32, 34, 35, 38, 39, 42, 44, 46, 47, 50, 51, 54, 56, 57, 60, 62, 64, 65, 68, 69, 72, 74, 75, 78, 80, 82, 83, 86, 87, 90, 92, 93, 96, 98, 99, 102, 104, 106, 107, 110, 111, 114, 116, 118, 119, 122, 123
OFFSET
1,1
COMMENTS
Let s(n) = 2n - a(n). It appears that s(n) is a 01-sequence with 0 in positions given by A189665 and 1 in positions given by A189660.
LINKS
EXAMPLE
As a word, A285305 = 1001101..., in which 0 is in positions 2,3,6,8,10,...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {1, 0}, 1 -> {0, 1, 1, 1}}] &, {0}, 10]; (* A285274 *)
Flatten[Position[s, 0]]; (* A285275 *)
Flatten[Position[s, 1]]; (* A285276 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 25 2017
STATUS
approved