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

A285141
Positions of 1 in A285139; complement of A285140.
3
3, 5, 9, 11, 13, 15, 19, 21, 25, 27, 29, 31, 35, 37, 41, 43, 47, 49, 53, 55, 57, 59, 63, 65, 69, 71, 73, 75, 79, 81, 85, 87, 89, 91, 95, 97, 101, 103, 105, 107, 111, 113, 117, 119, 123, 125, 129, 131, 133, 135, 139, 141, 145, 147, 149, 151, 155, 157, 161
OFFSET
1,1
COMMENTS
Conjecture: -1 < n*r - a(n) < 1 for n>=1, where r = 1 + sqrt(3).
LINKS
EXAMPLE
As a word, A285139 = 001010..., in which 1 is in positions 3,5,9,11,,...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {1, 0}, 1 -> {0, 0, 1, 0}}] &, {0}, 12]; (* A285139 *)
Flatten[Position[s, 0]]; (* A285140 *)
Flatten[Position[s, 1]]; (* A285141 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 20 2017
STATUS
approved