login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A295889 a(n) = 1 if binary weights of n and 3n have the same parity, 0 otherwise. 3
1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0

LINKS

Antti Karttunen, Table of n, a(n) for n = 0..16383

Index entries for sequences related to binary expansion of n

Index entries for characteristic functions

FORMULA

a(n) = A000035(1 + A000120(n) + A000120(3*n)).

a(n) = 1 - A295890(n).

a(A003714(n)) = A095111(n).

PROG

(Scheme) (define (A295889 n) (A000035 (+ 1 (A000120 n) (A000120 (* 3 n)))))

CROSSREFS

Cf. A000035, A000120, A010060, A295890.

Cf. also A003714, A095111.

Sequence in context: A188578 A322217 A104105 * A143221 A325899 A126999

Adjacent sequences:  A295886 A295887 A295888 * A295890 A295891 A295892

KEYWORD

nonn,base

AUTHOR

Antti Karttunen, Nov 30 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 28 01:15 EST 2020. Contains 332319 sequences. (Running on oeis4.)