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!)
A254651 Characteristic function of A254614, numbers that are either odd or evil (or both). 3
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, 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, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

0

COMMENTS

A254614 is the complement of A128309 (even odious numbers).

A254379 is the characteristic function of A128309.

LINKS

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

Index entries for characteristic functions

FORMULA

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

EXAMPLE

A254614 begins 0,1,3,5, hence this sequence begins 1,1,0,1,0,1.

PROG

(PARI) A254651(n) = bitor((n%2), !(hammingweight(n)%2)); \\ Antti Karttunen, Oct 01 2018

CROSSREFS

Cf. A128309, A254377, A254379, A254614, A254655 (run lengths).

Sequence in context: A065251 A039982 A267349 * A267579 A285414 A131372

Adjacent sequences:  A254648 A254649 A254650 * A254652 A254653 A254654

KEYWORD

nonn

AUTHOR

Jeremy Gardiner, Feb 04 2015

EXTENSIONS

Name amended by Antti Karttunen, Oct 01 2018

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 June 24 05:09 EDT 2021. Contains 345416 sequences. (Running on oeis4.)