|
|
|
|
1, 3, 5, 7, 11, 13, 17, 19, 21, 23, 25, 27, 31, 33, 37, 39, 41, 43, 45, 47, 51, 53, 57, 59, 61, 63, 65, 67, 71, 73, 77, 79, 83, 85, 89, 91, 95, 97, 101, 103, 105, 107, 109, 111, 115, 117, 121, 123, 125, 127, 129, 131, 135, 137, 141, 143, 147, 149, 153, 155
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Conjecture: a(n)/n -> (3+sqrt(5))/2.
|
|
LINKS
|
|
|
EXAMPLE
|
As a word, A285515 = 01010101110..., in which 0 is in positions 1,3,5,7,11,...
|
|
MATHEMATICA
|
s = Nest[Flatten[# /. {0 -> {1, 1}, 1 -> {0, 0, 1, 1}}] &, {0}, 6] (* A285501 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"11" -> "1", "00" -> "0"}]
s1 = ToCharacterCode[w1] - 48 (* A285515 *)
Flatten[Position[s1, 0]] (* A285516 *)
Flatten[Position[s1, 1]] (* A285517 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|