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!)
A304089 Binary weight of A304083. 4
0, 1, 2, 1, 3, 2, 1, 2, 4, 3, 2, 1, 3, 2, 3, 2, 5, 4, 3, 2, 1, 4, 3, 2, 4, 3, 2, 4, 3, 2, 3, 6, 3, 5, 4, 3, 2, 1, 5, 4, 3, 2, 5, 4, 3, 2, 5, 4, 3, 2, 4, 3, 5, 4, 3, 2, 4, 3, 4, 3, 7, 4, 3, 4, 3, 6, 5, 4, 3, 2, 1, 6, 5, 4, 3, 2, 6, 5, 4, 3, 2, 6, 5, 4, 3, 2, 5, 4, 3, 6, 5, 4, 3, 2, 5, 4, 3, 5, 4, 3, 6, 5, 4, 3, 2, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

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

Index entries for sequences related to binary expansion of n

FORMULA

a(n) = A000120(A304083(n)).

For all n >= 0, abs(a(n+1)-a(n)) = A000120(A304083(n+1) XOR A304083(n)), where XOR is a bitwise exclusive or, A003987.

PROG

(PARI) A304089(n) = hammingweight(A304083(n)); \\ Needs also code from A304083.

CROSSREFS

Cf. A000120, A304088, A304083.

Cf. also A303780.

Sequence in context: A126597 A261867 A076081 * A209281 A240554 A107338

Adjacent sequences:  A304086 A304087 A304088 * A304090 A304091 A304092

KEYWORD

nonn,base

AUTHOR

Antti Karttunen, May 06 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 September 21 15:47 EDT 2021. Contains 347598 sequences. (Running on oeis4.)