|
|
|
|
2, 4, 5, 7, 9, 12, 14, 15, 17, 19, 22, 24, 26, 27, 29, 32, 34, 36, 37, 39, 42, 44, 46, 47, 49, 51, 54, 56, 57, 59, 61, 64, 66, 68, 69, 71, 74, 76, 78, 79, 81, 84, 86, 88, 89, 91, 93, 96, 98, 99, 101, 103, 106, 108, 109, 111, 113, 116, 118, 120, 121, 123, 126
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
2n - a(n) is in {0,1} for n>=1.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
As a word, A286752 = 10100101011010010101101001001..., in which 0 is in positions 2,4,5,7,9,12,...
|
|
MATHEMATICA
|
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0}}] &, {0}, 12]; (* A003849 *)
w = StringJoin[Map[ToString, s]];
w1 = StringReplace[w, {"010010" -> ""}];
st = ToCharacterCode[w1] - 48; (* A286752 *)
Flatten[Position[st, 0]]; (* A286753 *)
Flatten[Position[st, 1]]; (* A286754 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|