login
A287552
Positions of 0 in A053839.
6
1, 8, 11, 14, 20, 23, 26, 29, 35, 38, 41, 48, 50, 53, 60, 63, 68, 71, 74, 77, 83, 86, 89, 96, 98, 101, 108, 111, 113, 120, 123, 126, 131, 134, 137, 144, 146, 149, 156, 159, 161, 168, 171, 174, 180, 183, 186, 189, 194, 197, 204, 207, 209, 216, 219, 222, 228
OFFSET
1,2
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 3, 0, 1, 2, 0, 1, 2, 3, 1, 2, 3, 0, 2, 3, 0, 1, 0, 1, 2, 3, with
0 in positions given by A287553,
1 in positions given by A287554,
2 in positions given by A287555,
3 in positions given by A287552.
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