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

A284393
Positions of 1 in A284391; complement of A284392.
4
1, 2, 5, 6, 7, 10, 13, 16, 17, 18, 21, 22, 23, 26, 27, 28, 31, 34, 37, 38, 39, 42, 45, 48, 49, 50, 53, 56, 59, 60, 61, 64, 65, 66, 69, 70, 71, 74, 77, 80, 81, 82, 85, 86, 87, 90, 91, 92, 95, 98, 101, 102, 103, 106, 107, 108, 111, 112, 113, 116, 119, 122, 123
OFFSET
1,2
LINKS
FORMULA
a(n) = 1 + A284390(n-1) for n >= 3.
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {1}, 1 -> {0, 0, 1}}] &, {0}, 9]; (* A284391 *)
Flatten[Position[s, 0]]; (* A284392 *)
Flatten[Position[s, 1]]; (* A284393 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Mar 30 2017
STATUS
approved