[go: up one dir, main page]

login
A287558
Positions of 1 in A287556.
5
2, 5, 11, 16, 17, 23, 28, 30, 36, 38, 41, 47, 51, 56, 58, 61, 65, 71, 76, 78, 84, 86, 89, 95, 99, 104, 106, 109, 114, 117, 123, 128, 131, 136, 138, 141, 146, 149, 155, 160, 161, 167, 172, 174, 180, 182, 185, 191, 196, 198, 201, 207, 211, 216, 218, 221, 226
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, 1, 0, 3, 1, 0, 2, 0, 2, 3, 1, 1, 0, 2, 3, 3, 1, 0, 2, with
0 in positions given by A287559,
1 in positions given by A287560,
2 in positions given by A287557,
3 in positions given by A287558.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1, 3, 2}, 1 -> {1, 3, 2, 0}, 2 -> {3, 2, 0, 1}, 3 -> {2, 0, 1, 3}}] &, {0}, 9]; (* A287556 *)
Flatten[Position[s, 0]]; (* A287557 *)
Flatten[Position[s, 1]]; (* A287558 *)
Flatten[Position[s, 2]]; (* A287559 *)
Flatten[Position[s, 3]]; (* A287560 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 31 2017
STATUS
approved