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!)
A092436 a(n) = 1/2 + (-1)^n*(1/2 - A010060(floor(n/2))). 2
0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
From Jeffrey Shallit, Mar 02 2022: (Start)
Also, the parity of the number of 2's in the bijective base-2 representation of n - 1; this is the base-2 representation using the digits {1,2} in place of {0,1}.
Also, solution of the equation a = 0 mu(a), where mu is the Thue-Morse morphism 0 -> 01, 1 -> 10. (End)
LINKS
FORMULA
a(n) = 1-A010060(n). - Chai Wah Wu, Mar 03 2023
MATHEMATICA
Flatten[ NestList[ Function[l, {Flatten[(l /. {0 -> {0, 1}, 1 -> {1, 0}})]}], {0}, 6]] (* Robert G. Wilson v, May 19 2005 *)
PROG
(Python)
def A092436(n): return n.bit_count()&1^1 # Chai Wah Wu, Mar 03 2023
CROSSREFS
Sequence in context: A090173 A214090 A072784 * A288306 A164056 A286059
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Mar 23 2004
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 24 06:34 EDT 2024. Contains 371920 sequences. (Running on oeis4.)