login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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))
A010060 = ""
for i in range(0, 40):
A010060 = A010060 + str(parityOf(i))
A289748 = ", ".join(bin(N(int(A010060, 2))).replace("0b", ""))
print(A289748)
CROSSREFS
Sequence in context: A103583 A070178 A364250 * A127254 A188395 A266678
KEYWORD
nonn,easy,cons,base
AUTHOR
Gilian Breysens, Jul 11 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 01:39 EDT 2024. Contains 371696 sequences. (Running on oeis4.)