login
A287553
Positions of 1 in A053839.
5
2, 5, 12, 15, 17, 24, 27, 30, 36, 39, 42, 45, 51, 54, 57, 64, 65, 72, 75, 78, 84, 87, 90, 93, 99, 102, 105, 112, 114, 117, 124, 127, 132, 135, 138, 141, 147, 150, 153, 160, 162, 165, 172, 175, 177, 184, 187, 190, 195, 198, 201, 208, 210, 213, 220, 223, 225
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 2, 3, 0, 1, 3, 0, 1, 2, 0, 1, 2, 3, 1, 2, 3, 0, 3, 0, 1, 2, with
0 in positions given by A287554,
1 in positions given by A287555,
2 in positions given by A287552,
3 in positions given by A287553.
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