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

A285138
Positions of 1 in A285136; complement of A285137.
3
1, 3, 5, 10, 14, 15, 17, 19, 21, 26, 30, 31, 33, 35, 37, 42, 46, 47, 52, 53, 58, 59, 64, 65, 67, 69, 71, 76, 80, 81, 86, 87, 92, 93, 95, 97, 99, 104, 105, 107, 109, 114, 118, 119, 121, 123, 125, 130, 134, 135, 137, 139, 141, 146, 150, 151, 153, 155, 157, 162
OFFSET
1,2
COMMENTS
Conjecture: -1 < n*r - a(n) < sqrt(3) for n>=1, where r = 1 + sqrt(3).
LINKS
EXAMPLE
As a word, A285136 = 10101000010..., in which 1 is in positions 1,3,5,10,...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {1, 0}, 1 -> {0, 0, 0, 1}}] &, {0}, 11]; (* A285136 *)
Flatten[Position[s, 0]]; (* A285137 *)
Flatten[Position[s, 1]]; (* A285138 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 20 2017
STATUS
approved