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

A287159
Positions of 2 in A287156.
4
1, 8, 13, 16, 18, 25, 28, 30, 35, 37, 41, 48, 53, 56, 58, 63, 65, 69, 76, 79, 81, 85, 92, 94, 101, 106, 109, 111, 118, 121, 123, 128, 130, 134, 141, 144, 146, 150, 157, 159, 166, 171, 174, 176, 181, 183, 187, 194, 196, 203, 208, 211, 213, 217, 224, 229, 232
OFFSET
1,2
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {1, 0}, 1 -> {2, 1}, 2 -> 0}] &, {0}, 11] (* A287156 *)
Flatten[Position[s, 0]] (* A287157 *)
Flatten[Position[s, 1]] (* A287158 *)
Flatten[Position[s, 2]] (* A287159 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 22 2017
STATUS
approved