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

A287555
Positions of 3 in A053839.
6
4, 7, 10, 13, 19, 22, 25, 32, 34, 37, 44, 47, 49, 56, 59, 62, 67, 70, 73, 80, 82, 85, 92, 95, 97, 104, 107, 110, 116, 119, 122, 125, 130, 133, 140, 143, 145, 152, 155, 158, 164, 167, 170, 173, 179, 182, 185, 192, 193, 200, 203, 206, 212, 215, 218, 221, 227
OFFSET
1,1
COMMENTS
a(n) - a(n-1) is in {1,2,3,4,5,6,7} for n >= 1; also, 4n - a(n) is in {0,1,2,3} for n >= 1. The first 20 numbers 4n - a(n) are 0, 1, 2, 3, 1, 2, 3, 0, 2, 3, 0, 1, 3, 0, 1, 2, 1, 2, 3, 0, with
0 in positions given by A287552,
1 in positions given by A287553,
2 in positions given by A287554,
3 in positions given by A287555.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1, 2, 3}, 1 -> {1, 2, 3, 0}, 2 -> {2, 3, 0, 1}, 3 -> {3, 0, 1, 2}}] &, {0}, 9]; (* A053839 *)
Flatten[Position[s, 0]]; (* A287552 *)
Flatten[Position[s, 1]]; (* A287553 *)
Flatten[Position[s, 2]]; (* A287554 *)
Flatten[Position[s, 3]]; (* A287555 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 31 2017
STATUS
approved