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

A284392
Positions of 0 in A284391; complement of A284393.
4
3, 4, 8, 9, 11, 12, 14, 15, 19, 20, 24, 25, 29, 30, 32, 33, 35, 36, 40, 41, 43, 44, 46, 47, 51, 52, 54, 55, 57, 58, 62, 63, 67, 68, 72, 73, 75, 76, 78, 79, 83, 84, 88, 89, 93, 94, 96, 97, 99, 100, 104, 105, 109, 110, 114, 115, 117, 118, 120, 121, 125, 126
OFFSET
1,1
LINKS
FORMULA
a(n) = -1 + A284389(n+2) for n >= 1.
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