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

A287115
Positions of 2 in A287112.
4
3, 10, 14, 21, 27, 34, 41, 47, 54, 58, 65, 71, 78, 82, 89, 95, 102, 109, 115, 122, 126, 133, 139, 146, 152, 159, 163, 170, 176, 183, 190, 196, 203, 207, 214, 220, 227, 234, 240, 247, 251, 258, 264, 271, 277, 284, 288, 295, 301, 308, 315, 321, 328, 332, 339
OFFSET
1,1
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {1, 0}, 1 -> {2, 0}, 2 -> 0}] &, {0}, 10] (* A287112 *)
Flatten[Position[s, 0]] (* A287113 *)
Flatten[Position[s, 1]] (* A287114 *)
Flatten[Position[s, 2]] (* A287115 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 22 2017
STATUS
approved