|
|
|
|
1, 2, 6, 7, 11, 15, 16, 20, 24, 25, 29, 30, 34, 38, 39, 43, 47, 48, 52, 53, 57, 61, 62, 66, 70, 71, 75, 79, 80, 84, 85, 89, 93, 94, 98, 102, 103, 107, 108, 112, 116, 117, 121, 125, 126, 130, 134, 135, 139, 140, 144, 148, 149, 153, 157, 158, 162, 163, 167
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
a(n) - a(n-1) is in {1,4} for n>=2, and a(n)/n -> (16 + 3*sqrt(2))/7.
|
|
LINKS
|
|
|
EXAMPLE
|
As a word, A286993 = 11000110001000110..., in which 1 is in positions 1,2,6,7,11,....
|
|
MATHEMATICA
|
s = Nest[Flatten[# /. {0 -> 1, 1 -> {1, 1, 0}}] &, {1}, 11]; (* Sturmian word A080764 *)
w = StringJoin[Map[ToString, s]];
w1 = StringReplace[w, {"0" -> "000", "111"->"1"}]
st = ToCharacterCode[w1] - 48 ; (* A286993 *)
Flatten[Position[st, 0]]; (* A286994 *)
Flatten[Position[st, 1]]; (* A286995 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|