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

A285516
Positions of 0 in A285515; complement of A285517.
3
1, 3, 5, 7, 11, 13, 17, 19, 21, 23, 25, 27, 31, 33, 37, 39, 41, 43, 45, 47, 51, 53, 57, 59, 61, 63, 65, 67, 71, 73, 77, 79, 83, 85, 89, 91, 95, 97, 101, 103, 105, 107, 109, 111, 115, 117, 121, 123, 125, 127, 129, 131, 135, 137, 141, 143, 147, 149, 153, 155
OFFSET
1,2
COMMENTS
Conjecture: a(n)/n -> (3+sqrt(5))/2.
LINKS
EXAMPLE
As a word, A285515 = 01010101110..., in which 0 is in positions 1,3,5,7,11,...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {1, 1}, 1 -> {0, 0, 1, 1}}] &, {0}, 6] (* A285501 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"11" -> "1", "00" -> "0"}]
s1 = ToCharacterCode[w1] - 48 (* A285515 *)
Flatten[Position[s1, 0]] (* A285516 *)
Flatten[Position[s1, 1]] (* A285517 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 30 2017
STATUS
approved