|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|