|
|
A289748
|
|
Thue-Morse constant converted to base -2.
|
|
1
|
|
|
1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0
(list;
constant;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1
|
|
COMMENTS
|
Base -2 is also called negabinary. Interpreting the sequence as a binary number with the first '1' at place 2^0 gives 1.101111101110... which in decimal equals M = 1.745787366973...
|
|
LINKS
|
|
|
FORMULA
|
M = Thue-Morse + 4/3 (conjectured).
|
|
PROG
|
(Python)
def N(x):
return x + 0xAAAAAAAAAAAAAAAA ^ 0xAAAAAAAAAAAAAAAA
def parityOf(int_type):
parity = 0
while (int_type):
parity = ~parity
int_type = int_type & (int_type - 1)
return(abs(parity))
for i in range(0, 40):
|
|
CROSSREFS
|
|
|
KEYWORD
|
|
|
AUTHOR
|
Gilian Breysens, Jul 11 2017
|
|
STATUS
|
approved
|
|
|
|