[go: up one dir, main page]

login
A287572
Positions of 0 in A287571.
6
1, 6, 12, 15, 19, 21, 26, 32, 34, 40, 43, 45, 52, 55, 57, 62, 68, 71, 73, 78, 81, 86, 92, 95, 99, 101, 106, 112, 114, 120, 123, 125, 131, 133, 138, 144, 146, 152, 155, 157, 164, 167, 169, 174, 177, 182, 188, 191, 194, 200, 203, 205, 212, 215, 217, 222, 225
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, 2, 0, 1, 1, 3, 2, 0, 2, 0, 1, 3, 0, 1, 3, 2, 0, 1, 3, 2, with
0 in positions given by A287573,
1 in positions given by A287574,
2 in positions given by A287575,
3 in positions given by A287572.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 3, 1, 2}, 1 -> {3, 1, 2, 0}, 2 -> {1, 2, 0, 3}, 3 -> {2, 0, 3, 1}}] &, {0}, 9]; (* A287571 *)
Flatten[Position[s, 0]]; (* A287572 *)
Flatten[Position[s, 1]]; (* A287573 *)
Flatten[Position[s, 2]]; (* A287574 *)
Flatten[Position[s, 3]]; (* A287575 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 31 2017
STATUS
approved